Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8276094 JEP 423: Region Pinning for G1
  3. JDK-8280106

G1: Make reclaiming memory functionality more general in G1SegmentedArrayFreePool and G1SegmentedArrayFreeMemoryTask

    XMLWordPrintable

    Details

    • Subcomponent:
      gc

      Description

      We have planned to make memory reclaimation more general, and reuse it in evacuation failure processing after JDK-8254739.
      Some of the work has already been done in JDK-8276670 and JDK-8277542.
      But after JDK-8278917, there is no need to return the memory used by G1SegmentedArray in evacuation failure processing, as it uses another way to do it.
      Currently, G1SegmentedArrayFreePool and G1SegmentedArrayFreeMemoryTask is half-bound to card set, and half-general, it should be made more general for the readability of the code and future possible reuse of this functionality returning memory (used by G1SegmentedArray) to OS.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mli Hamlin Li
              Reporter:
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: