On Fri, 5 Jun 2026 18:11:24 GMT, Coleen Phillimore <[email protected]> wrote:

> Please review this change to allow XX configuration for specifying a 
> different /tmp directory for the JVM to use.  In some container environments, 
> /tmp and /proc/pid/root/tmp might not be usable and an alternate would be 
> used.  This requires a release note and CSR.   Usage is:
> 
> java -XX:AltTempDir=/diags <app>
> jps -J-XX:AltTempDir=/diags
> jcmd -J-XX:AltTempDir=/diags <pid> <cmds>
> 
> Tested with a couple of tests and locally, and ran tier1-4.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 79568c91
Author:    Coleen Phillimore <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/79568c915ae8c348b0fed271b949d21247770d13
Stats:     543 lines in 19 files changed: 495 ins; 10 del; 38 mod

8384557: Allow configuration of the JVM's temporary directory on Linux

Co-authored-by: Kevin Walls <[email protected]>
Co-authored-by: David Holmes <[email protected]>
Reviewed-by: dholmes, sspitsyn, jsjolen, kevinw

-------------

PR: https://git.openjdk.org/jdk/pull/31407

Reply via email to