RFR: 8267836: Separate eager reclaim remembered set threshold from G1RSetSparseRegionEntries [v2]
Thomas Schatzl
tschatzl at openjdk.java.net
Mon May 31 12:16:42 UTC 2021
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4248/files
- new: https://git.openjdk.java.net/jdk/pull/4248/files/61375d11..de38374d
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4248&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4248&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/4248.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4248/head:pull/4248
PR: https://git.openjdk.java.net/jdk/pull/4248
More information about the hotspot-gc-dev
mailing list