Integrated: 8267836: Separate eager reclaim remembered set threshold from G1RSetSparseRegionEntries

Thomas Schatzl 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
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 2d494bff
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2d494bffffd532be0b5d2c17495d705f925932e7
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

-------------

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


More information about the hotspot-gc-dev mailing list