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

G1: Factor out G1CardSetFreePool and related classes from G1CardSetXxx

XMLWordPrintable

    • gc

      Currently, only the card sets (remembered sets) use G1CardSetFreePool to give back memory to OS.

      After JDK-8254739, this memory reclaiming mechanism could be reused by evacuation failure too. This is a preparation change to allow reuse of this code.

      I plan to do this in about 3 steps to smooth the review process:
        1. move G1CardSetFreePool and related classes to new file, rename these classes
        2. refactor these classes to support freeing other freelist
        3. some necessary cleanup

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

              Created:
              Updated:
              Resolved: