Integrated: 8374875: Improve perfMemory warning about 'Insufficient space for shared memory file'
Matthias Baesken
mbaesken at openjdk.org
Mon Jan 12 07:49:28 UTC 2026
On Fri, 9 Jan 2026 12:29:14 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> We have a perfMemory warning about 'Insufficient space for shared memory file'; this currently prints misleading info about 'java.io.tmpdir' and misses to print the directory, so we get no clue where exactly insufficient space is.
>
>
> Current Example output :
> OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file:
> 31671
> Try using the -Djava.io.tmpdir= option to select an alternate temp location.
>
>
> Just printing '31671' does not really help me much.
> And the suggestion to set `java.io.tmpdir ` seems to be wrong; it WAS set in the java - execution the output is from, but is not used in the perfMemory coding (probably intentionally).
This pull request has now been integrated.
Changeset: 7cf7f01f
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7cf7f01fb339bf3c5b81d946be8afa71ec267e42
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
8374875: Improve perfMemory warning about 'Insufficient space for shared memory file'
Reviewed-by: lucy, mdoerr, clanger
-------------
PR: https://git.openjdk.org/jdk/pull/29138
More information about the hotspot-runtime-dev
mailing list