RFR: 8371369: Parallel: Relax precondition of PSOldGen::expand_and_allocate [v2]

Albert Mingkun Yang ayang at openjdk.org
Fri Nov 7 10:24:37 UTC 2025


> Use more precise precondition for heap/old-gen expansion; the same precondition is also used in its sole caller.
> 
> Edit:
> Additionally, the call `needs_expand` is updated to accommodate two different paths where it can't be invoked.
> 
> Test: tie1-5

Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:

  review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28162/files
  - new: https://git.openjdk.org/jdk/pull/28162/files/c0f6ff5c..0cfb105c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28162&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28162&range=00-01

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

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


More information about the hotspot-gc-dev mailing list