RFR: 8171508: Remove -Dsun.java.launcher.is_altjvm option [v5]
Calvin Cheung
ccheung at openjdk.org
Mon Apr 7 17:56:31 UTC 2025
> The `-Dsun.java.launcher.is_altjvm` option is only used in the gtest launcher and has no relationship with the similarly named `-XXaltjvm` option. The gtest launcher also sets the `-XX:+ExecutingUnitTests` option. This RFE involves removing the `-Dsun.java.launcher.is_altjvm` option, capturing the `-XX:+ExecutingUnitTests` 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.
>
> Passed tiers 1 - 3 testing.
Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
@dholmes-ora comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24310/files
- new: https://git.openjdk.org/jdk/pull/24310/files/2de1d3a6..e107e569
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24310&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24310&range=03-04
Stats: 19 lines in 4 files changed: 4 ins; 4 del; 11 mod
Patch: https://git.openjdk.org/jdk/pull/24310.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24310/head:pull/24310
PR: https://git.openjdk.org/jdk/pull/24310
More information about the hotspot-runtime-dev
mailing list