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

Make evacuation failure data structures local to collection

    XMLWordPrintable

Details

    • gc
    • b13

    Description

      Currently the PreservedMarksSet and the EvacuationFailureInfo data structures are global to G1CollectedHeap. As such they are completely managed by that class.

      However, these data structures are only ever used during young collection if there has been an evacuation failure.

      It makes sense to make them local to the (young) collection instead of having them hang around in G1CollectedHeap (and strictly speaking, per-thread EvacuationFailureInfo is never deallocated).

      Attachments

        Issue Links

          Activity

            People

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: