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

G1 HeapRegions can no longer be ContiguousSpaces

    XMLWordPrintable

    Details

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

      Backports

        Description

        When G1 is modified to unload classes without doing full collections the old HeapRegions
        can contain unparseable objects.
        This makes ContiguousSpace unsuitable as a base class for HeapRegion since it assumes that all objects below _top are parseable.

        Modify G1OffsetTableContigSpace to implement allocation with a separate _top and reimplement some Space pure virtuals to make object iteration work as expected.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mgerdin Mikael Gerdin (Inactive)
                Reporter:
                mgerdin Mikael Gerdin (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: