RFR: 8372589: VM crashes on init when NonNMethodCodeHeapSize is set too small and UseTransparentHugePages is enabled
David Briemann
dbriemann at openjdk.org
Thu Dec 4 13:06:09 UTC 2025
…all and UseTransparentHugePages is enabled
Aligning upwards instead of downwards not only solves the crash in large huge page scenarios but also ensures that the cache sizes are at least as big as they were set.
-------------
Commit messages:
- 8372589: VM crashes on init when NonNMethodCodeHeapSize is set too small and UseTransparentHugePages is enabled
Changes: https://git.openjdk.org/jdk/pull/28658/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28658&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8372589
Stats: 10 lines in 1 file changed: 0 ins; 6 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/28658.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28658/head:pull/28658
PR: https://git.openjdk.org/jdk/pull/28658
More information about the hotspot-compiler-dev
mailing list