RFR: 8367249: [REDO] MemBaseline accesses VMT without using lock [v4]

Jiangli Zhou jiangli at openjdk.org
Thu Sep 18 00:07:38 UTC 2025


On Wed, 17 Sep 2025 12:49:00 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> Hi @jianglizhou ,
> 
> There's a test failure that only appears in linux-x64-static tier1. I'm looking at running the tests under the static-jdk. So far, I've produced a static-jdk via `make CONF=slow static-jdk-image`. Do you happen to know how to execute the tier1 tests with such a JDK?
> 
> I've tried `make JDK_UNDER_TEST=build/linux-x64-slowdebug/images/static-jdk/ test TEST=tier1` but it complains about JDK_UNDER_TEST not being a non-control variable.

Hi @jdksjolen, to run jtreg tests on a `static-jdk` binary, you can set `JDK_FOR_COMPILE=<static_jdk>`, `JDK_FOR_COMPILE=<regular-jdk-path>` and `extra-problem-lists` options in jtreg command line. The GHA testing on static JDK setup those to run tier1 tests: https://github.com/openjdk/jdk/blob/aa36799acb5834d730400fb073a9a3a8ee3c28ef/.github/workflows/test.yml#L185

https://bugs.openjdk.org/browse/JDK-8303796?focusedId=14745789&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14745789 has a command line example for running tier1 tests on static-jdk.

To build a static JDK: `make static-jdk-image`.

Hope those are helpful.

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

PR Comment: https://git.openjdk.org/jdk/pull/27170#issuecomment-3304902481


More information about the hotspot-dev mailing list