On Fri, 28 Feb 2025 00:37:24 GMT, Calvin Cheung <cche...@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
>
> Calvin Cheung has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   @magius and @iklam comments

Well, this apparently broke CDS archive generation / use in my multi-JVM 
builds. Looking for CDS archives in vicinity of currently launched libjvm.so is 
a feature that got unfortunately broken by this. Filed: 
https://bugs.openjdk.org/browse/JDK-8353504

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

PR Comment: https://git.openjdk.org/jdk/pull/23758#issuecomment-2771575425

Reply via email to