RFR: 8370943: Support heap expansion during startup in Serial and Parallel

Albert Mingkun Yang ayang at openjdk.org
Thu Oct 30 11:50:12 UTC 2025


Add heap expansion logic in allocation slow-path during startup. Some asserts are relaxed to be used by java-threads and outside of safepoint.

Test: tier1-5

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

Commit messages:
 - pgc-expand-at-init

Changes: https://git.openjdk.org/jdk/pull/28059/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28059&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370943
  Stats: 26 lines in 4 files changed: 20 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/28059.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28059/head:pull/28059

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


More information about the hotspot-gc-dev mailing list