RFR: 8352969: G1: Improve testability of optional collections [v11]
Albert Mingkun Yang
ayang at openjdk.org
Thu Sep 11 14:49:53 UTC 2025
On Thu, 11 Sep 2025 14:44:33 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 with a new target base due to a merge or a rebase. The pull request now contains 17 commits:
>
> - Remove #ifdef ASSERT; compiler will optimize unreachable branches
> - Merge remote-tracking branch 'upstream/master' into 8352969
> - Update TestOptionalRegionGC.java
>
> Correct the formatting errors
> - fix a small error
> - fix format error.
> - optimize implementation
> - Merge remote-tracking branch 'upstream/master' into 8352969
> - change flag name
> - Merge remote-tracking branch 'upstream/master' into 8352969
> - fix format error
> - ... and 7 more: https://git.openjdk.org/jdk/compare/fc3e3e26...1fc245af
Marked as reviewed by ayang (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/26880#pullrequestreview-3212089205
More information about the hotspot-gc-dev
mailing list