RFR: 8364558: Test compiler/startup/StartupOutput.java failed with native OOM: CodeCache: no room for StubRoutines

Andrew Dinn adinn at openjdk.org
Tue Aug 5 13:28:18 UTC 2025


This PR avoids bringing down the VM when a code cache allocation for the stubgen compiler blob is requested by the compiler thread and fails because the code cache is full. Instead the VM is allowed to carry on with the compiler disabled.

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

Commit messages:
 - Handle failed compiler blob allocate gracefully

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

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


More information about the hotspot-dev mailing list