RFR: 8334564: VM startup: fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for NonNMethodCodeHeapSize [v2]
Lutz Schmidt
lucy at openjdk.org
Thu Jun 20 16:56:36 UTC 2024
> CodeHeap segment sizes are aligned to page size multiples. This can result in the non-nmethod segment receiving size 0 (zero). Range checking during FLAG_SET_ERGO processing detects that and raises an error, preventing the vm from starting.
>
> This fix increases the minimum size of the non-nmethod segment to page size, preventing it from being rounded down to zero.
>
> Verified by manual testing. Nightly tests (mainly to discover unexpected side effects) pending.
Lutz Schmidt has updated the pull request incrementally with one additional commit since the last revision:
8334564: Remove extra whitespace.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19812/files
- new: https://git.openjdk.org/jdk/pull/19812/files/53f32a14..585db1b7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19812&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19812&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/19812.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19812/head:pull/19812
PR: https://git.openjdk.org/jdk/pull/19812
More information about the hotspot-compiler-dev
mailing list