Circular dependency between G1CollectedHeap and G1BlockOffsetSharedArray

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc
    • b66
    • generic
    • generic

        There's a circular include dependency between g1BlockOffsetTable.inline.hpp and g1CollectedHeap.inline.hpp. While working on a different change, which sorted the include lines in g1CollectedHeap.inline.hpp, this dependency was unveiled and caused a build error.

        The suggested fix is to turn the check_index() macro in g1BlockOffsetTable.inline.hpp into a function and place it in g1BlockOffsetTable.cpp.

              Assignee:
              Per Liden (Inactive)
              Reporter:
              Per Liden (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: