RFR: JDK-8320300: Adjust hs_err output in malloc/mmap error cases
Matthias Baesken
mbaesken at openjdk.org
Fri Nov 17 14:02:39 UTC 2023
Some of the error output could be slightly improved. Currently it says for example:
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 65536 bytes for Failed to commit metaspace.
Possible reasons:
. . .
The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
The output 'bytes for Failed to commit metaspace.' should be rephrased.
The reason should be more clear that it really IS the case for the current JVM that CompressedOops is set (and that it is not just some general advice) .
-------------
Commit messages:
- JDK-8320300
Changes: https://git.openjdk.org/jdk/pull/16707/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16707&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8320300
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/16707.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16707/head:pull/16707
PR: https://git.openjdk.org/jdk/pull/16707
More information about the hotspot-dev
mailing list