Integrated: 8355439: Some hotspot/jtreg/serviceability/sa/* tests fail on static JDK due to explicit checks for shared libraries in process memory map
Jiangli Zhou
jiangli at openjdk.org
Fri Apr 25 17:14:59 UTC 2025
On Wed, 23 Apr 2025 22:40:16 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:
> Please review the change for following hotspot/jtreg/serviceability/sa/* tests to not check for JDK/VM shared libraries when running on static JDK.
>
> - test/hotspot/jtreg/serviceability/sa/ClhsdbPmap.java
> - test/hotspot/jtreg/serviceability/sa/sadebugd/PmapOnDebugdTest.java
> - test/hotspot/jtreg/serviceability/sa/sadebugd/RunCommandOnServerTest.java
>
> I tested the change on a `static-jdk` binary with a `static-jdk/bin/jhsdb` symlink to the `jhsdb` in a regular JDK binary. The tests pass with the change. Example test command:
>
> $ make test TEST="serviceability/sa/sadebugd/RunCommandOnServerTest.java" JDK_UNDER_TEST=/<snip>/JDK-8355439/build/linux-x86_64-server-fastdebug/images/static-jdk JDK_FOR_COMPILE=/<snip>/JDK-8355439/build/linux-x86_64-server-fastdebug/images/jdk
This pull request has now been integrated.
Changeset: 4b880299
Author: Jiangli Zhou <jiangli at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4b880299881c9413038d647123e3b658999c6f8f
Stats: 22 lines in 3 files changed: 16 ins; 0 del; 6 mod
8355439: Some hotspot/jtreg/serviceability/sa/* tests fail on static JDK due to explicit checks for shared libraries in process memory map
Reviewed-by: sspitsyn, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/24836
More information about the serviceability-dev
mailing list