RFR: 8171508: Remove -Dsun.java.launcher.is_altjvm option [v3]

Calvin Cheung ccheung at openjdk.org
Sun Apr 6 23:57:48 UTC 2025


On Sun, 6 Apr 2025 22:05:31 GMT, David Holmes <dholmes at openjdk.org> wrote:

> How does the gtest launcher work with these changes? There the libjvm.so is in a completely different place to the JDK. ??

gtest launcher sets the `-XX:+ExecutingUnitTests` option. My updated fix is to capture the option in `Arguments::process_sun_java_launcher_properties()` so that the `os::jvm_path()` can check if the option is set before using `JAVA_HOME` setting.

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

PR Comment: https://git.openjdk.org/jdk/pull/24310#issuecomment-2781736288


More information about the hotspot-runtime-dev mailing list