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

Guanqiang Han ghan at openjdk.org
Wed Sep 10 15:53:28 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26880/files
  - new: https://git.openjdk.org/jdk/pull/26880/files/05c57c27..857b5a1e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26880&range=09
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26880&range=08-09

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/26880.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26880/head:pull/26880

PR: https://git.openjdk.org/jdk/pull/26880


More information about the hotspot-gc-dev mailing list