RFR: 8352969: G1: Improve testability of optional collections [v10]

Thomas Schatzl tschatzl at openjdk.org
Thu Sep 11 08:01:15 UTC 2025


On Wed, 10 Sep 2025 15:53:28 GMT, Guanqiang Han <ghan at openjdk.org> wrote:

>> This PR introduces a new diagnostic flag EvacuateAllOptionalRegions to force G1 GC to evacuate all optional regions regardless of the predicted pause time. The motivation is to allow testing and validation of optional region evacuation behavior without being constrained by the remaining pause time.
>
> Guanqiang Han has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update TestOptionalRegionGC.java
>   
>   Correct the formatting errors

Hotspot (gc) PRs need a second reviewer per internal rule to distribute knowledge unless "trivial". No worries, the second review is typically faster...

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

PR Comment: https://git.openjdk.org/jdk/pull/26880#issuecomment-3279019764


More information about the hotspot-gc-dev mailing list