Integrated: 8348028: Unable to run gtests with CDS enabled

Calvin Cheung ccheung at openjdk.org
Fri Feb 28 17:13:03 UTC 2025


On Tue, 25 Feb 2025 00:51:55 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: e98df71d
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e98df71d9c5120fbb73a4c2f49863775fe5db781
Stats:     29 lines in 5 files changed: 12 ins; 14 del; 3 mod

8348028: Unable to run gtests with CDS enabled

Reviewed-by: dholmes, iklam, ihse

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

PR: https://git.openjdk.org/jdk/pull/23758


More information about the build-dev mailing list