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

Circular dependency between G1CollectedHeap and G1BlockOffsetSharedArray

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b66
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pliden Per Liden
                  Reporter:
                  pliden Per Liden
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: