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

Make evacuation failure data structures local to collection

XMLWordPrintable

    • gc
    • b13

      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).

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

              Created:
              Updated:
              Resolved: