RFR: 8276670: G1: Move and rename G1CardSetFreePool and related classes [v4]
mli at openjdk.java.net
Fri Nov 19 02:44:28 UTC 2021
> 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
> This is to simply move and rename G1CardSetFreePool and related classes, as G1CardSetFreePool and related classes are going to be reused outside of the remembered set, they should be factored out and renamed.
> Rename from G1CardSetXxx -> G1BufferListXxx.
Hamlin Li has updated the pull request incrementally with one additional commit since the last revision:
Rename from G1BufferListXxx to G1SegmentedArrayXxx
- all: https://git.openjdk.java.net/jdk/pull/6289/files
- new: https://git.openjdk.java.net/jdk/pull/6289/files/c15129e4..d7fb55c0
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6289&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6289&range=02-03
Stats: 1291 lines in 19 files changed: 631 ins; 631 del; 29 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6289/head:pull/6289
More information about the hotspot-gc-dev