Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8079330

Circular dependency between G1CollectedHeap and G1BlockOffsetSharedArray

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: