RFR: 8276670: G1: Move and rename G1CardSetFreePool and related classes [v3]

Hamlin Li mli at openjdk.java.net
Wed Nov 10 07:09:41 UTC 2021

On Mon, 8 Nov 2021 03:12:12 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> 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:
>   Fix typo

Is some one available to have a look at this change? Thanks


PR: https://git.openjdk.java.net/jdk/pull/6289

More information about the hotspot-gc-dev mailing list