RFR: 8367737: Parallel: Retry allocation after lock acquire in mem_allocate_work

Albert Mingkun Yang ayang at openjdk.org
Tue Sep 16 09:48:24 UTC 2025


Restoring the allocation retrying logic inside lock-region to avoid premature GCs. This logic was mistakenly removed in [JDK-8365557](https://bugs.openjdk.org/browse/JDK-8365557).

Test: tier1-3

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

Commit messages:
 - pgc-retry-after-lock

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

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


More information about the hotspot-gc-dev mailing list