RFR: JDK-8320300: Adjust hs_err output in malloc/mmap error cases
Christoph Langer
clanger at openjdk.org
Fri Nov 17 15:44:38 UTC 2023
On Fri, 17 Nov 2023 13:53:53 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 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) .
Makes sense.
-------------
Marked as reviewed by clanger (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16707#pullrequestreview-1737309784
More information about the hotspot-dev
mailing list