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

Make heap region region type in G1 HeapRegion explicit

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b33

      Backports

        Description

        Determining the heap region type in G1 is very complicated in G1 right now, basically an if-cascade where order matters.

        This is due to the region type being distributed across a few members of the HeapRegion data structure.

        Create an explicit heap region type member, and use that everywhere.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: