> 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).
Coleen Phillimore has updated the pull request incrementally with four additional commits since the last revision: - Fix hsperfdata file name parsing. - Limit AltTempDir to length usable in attach socket and require fully qualified pathname. - Kevin Walls changes to find process across containers. - revert DockerBasicTest ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31407/files - new: https://git.openjdk.org/jdk/pull/31407/files/76f29749..fc671484 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31407&range=07 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31407&range=06-07 Stats: 118 lines in 7 files changed: 79 ins; 10 del; 29 mod Patch: https://git.openjdk.org/jdk/pull/31407.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31407/head:pull/31407 PR: https://git.openjdk.org/jdk/pull/31407
