RFR: 8277736: G1: Allow forced evacuation failure of first N regions in collection set [v2]
Thomas Schatzl
tschatzl at openjdk.java.net
Wed Dec 1 09:30:36 UTC 2021
On Wed, 1 Dec 2021 01:19:38 GMT, Hamlin Li <mli at openjdk.org> wrote:
>> src/hotspot/share/gc/g1/g1_globals.hpp line 78:
>>
>>> 76: "evacuation pauses") \
>>> 77: \
>>> 78: product(uintx, G1EvacuationFailureALotCSetPercent, 100, \
>>
>> Why `uintx`? Does `uint` work?
>
> I will refine the explanation specifically.
> As Thomas suggested, an random selection will be added later, I plan to add another bool option to indicate if it's random selection or not, so will keep `G1EvacuationFailureALotCSetPercent`.
Another, imo better way would be allowing a string for the type of selection algorithm, like `VerifyGCType`, with current possible values being `NthObject` (or just default) and `FirstRegions` or so.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6561
More information about the hotspot-gc-dev
mailing list