RFR: 8348028: Unable to run gtests with CDS enabled [v2]

Calvin Cheung ccheung at openjdk.org
Wed Feb 26 18:02:43 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

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  Ioi's suggestion

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23758/files
  - new: https://git.openjdk.org/jdk/pull/23758/files/6db007be..2a57876e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23758&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23758&range=00-01

  Stats: 8 lines in 5 files changed: 4 ins; 0 del; 4 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