RFR: 8374875: Improve perfMemory warning about 'Insufficient space for shared memory file'
Matthias Baesken
mbaesken at openjdk.org
Fri Jan 9 12:40:48 UTC 2026
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).
-------------
Commit messages:
- JDK-8374875
Changes: https://git.openjdk.org/jdk/pull/29138/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29138&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374875
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/29138.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29138/head:pull/29138
PR: https://git.openjdk.org/jdk/pull/29138
More information about the hotspot-runtime-dev
mailing list