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

2025-04-02 Thread Aleksey Shipilev
On Fri, 28 Feb 2025 00:37:24 GMT, Calvin Cheung 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

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

2025-02-28 Thread Magnus Ihse Bursie
On Fri, 28 Feb 2025 00:37:24 GMT, Calvin Cheung 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

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

2025-02-27 Thread David Holmes
On Fri, 28 Feb 2025 00:37:24 GMT, Calvin Cheung 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

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

2025-02-27 Thread Ioi Lam
On Fri, 28 Feb 2025 00:37:24 GMT, Calvin Cheung 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

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

2025-02-27 Thread Calvin Cheung
> 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 -Xsh