Integrated: 8267836: Separate eager reclaim remembered set threshold from G1RSetSparseRegionEntries
tschatzl at openjdk.java.net
Wed Jun 2 09:35:35 UTC 2021
On Fri, 28 May 2021 13:56:01 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
This pull request has now been integrated.
Author: Thomas Schatzl <tschatzl at openjdk.org>
Stats: 14 lines in 4 files changed: 12 ins; 0 del; 2 mod
8267836: Separate eager reclaim remembered set threshold from G1RSetSparseRegionEntries
Reviewed-by: sjohanss, lkorinth
More information about the hotspot-gc-dev