RFR: 8348028: Unable to run gtests with CDS enabled
Calvin Cheung
ccheung at openjdk.org
Tue Feb 25 00:57:26 UTC 2025
A simple fix in `os::jvm_path()` so that gtest can be run with CDS (`-Xshare:on`). The fix is just to change the directory name from `hotspot` to `server`.
Note that the bug doesn't exist on macOS and thus no change is required for `os_bsd.cpp`.
Testing:
- run gtest with -Xshare:on on linux-x64
- tier1
-------------
Commit messages:
- 8348028: Unable to run gtests with CDS enabled
Changes: https://git.openjdk.org/jdk/pull/23758/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23758&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8348028
Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/23758.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23758/head:pull/23758
PR: https://git.openjdk.org/jdk/pull/23758
More information about the hotspot-runtime-dev
mailing list