RFR: 8364199: Enhance list of environment variables printed in hserr/hsinfo file

Matthias Baesken mbaesken at openjdk.org
Fri Aug 1 10:27:01 UTC 2025


On Mon, 28 Jul 2025 15:09:12 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> We have a number of interesting environment variables influencing the JVM/JDK that could be added to the list of environment variables printed in the hserr/hsinfo file.
> JAVA_OPTS is used by lots of tools .
> WAYLAND_DISPLAY ( https://github.com/openjdk/jdk/blob/965b68107ffe1c1c988d4faf6d6742629407451b/src/java.desktop/unix/classes/sun/awt/UNIXToolkit.java#L492)  
> and JDK_AOT_VM_OPTIONS (https://github.com/openjdk/jdk/blob/965b68107ffe1c1c988d4faf6d6742629407451b/src/java.base/share/man/java.md?plain=1#L4052) are referenced in the codebase.

Thanks for the reviews !

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

PR Comment: https://git.openjdk.org/jdk/pull/26509#issuecomment-3144065194


More information about the hotspot-dev mailing list