RFR: 8353504: CDS archives are not found when JVM is in non-variant location [v2]
Calvin Cheung
ccheung at openjdk.org
Wed May 21 20:31:53 UTC 2025
On Wed, 21 May 2025 19:02:55 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> I am confused about the fix though. Let me see if I get it right: we end up calling `os::jvm_path`, which uses `Abstract_VM_Version::vm_variant()` only when `Arguments::executing_unit_tests()`. Otherwise it asks `dladdr` -> `realpath` from really running `libjvm.so`.
>
Yes, the code under the `Arguments::executing_unit_tests()` condition is for gtestLauncher.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25361#issuecomment-2899156240
More information about the hotspot-runtime-dev
mailing list