RFR: 8267836: Separate eager reclaim remembered set threshold from G1RSetSparseRegionEntries [v2]
Stefan Johansson
sjohanss at openjdk.java.net
Tue Jun 1 09:55:20 UTC 2021
On Mon, 31 May 2021 12:16:42 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> Hi all,
>>
>> currently the remembered set eager reclaim threshold is based directly on G1RSetSparseRegionEntries. I.e. otherwise eligible humongous objects are only considered candidates for eager reclaim if their remembered set has less than G1RSetSparseRegionEntries entries.
>>
>> The reason for this limitation has been that before JDK-8233919 (in JDK14) it has been very expensive to get a remembered set size estimate if the remembered set for that heap region had expanded to fine tables.
>>
>> This is not the case any more, and there are situation where you want to set this threshold (much) larger than the number of sparse table entries.
>>
>> By default, this new value will still be based on the current value.
>>
>> Unfortunately I did not manage to create a useful test case that verifies whether a given threshold is met.
>>
>> Testing: tier1
>>
>> Thanks,
>> Thomas
>
> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
>
> lkorinth review
Looks good.
-------------
Marked as reviewed by sjohanss (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4248
More information about the hotspot-gc-dev
mailing list