Integrated: JDK-8320300: Adjust hs_err output in malloc/mmap error cases
Matthias Baesken
mbaesken at openjdk.org
Mon Nov 20 13:43:40 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) .
This pull request has now been integrated.
Changeset: 60c8d9c0
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/60c8d9c045be16fee99a83117844c2a8100f7c1a
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
8320300: Adjust hs_err output in malloc/mmap error cases
Reviewed-by: clanger, mdoerr
-------------
PR: https://git.openjdk.org/jdk/pull/16707
More information about the hotspot-dev
mailing list