[jdk21u-dev] RFR: 8327990: [macosx-aarch64] Various tests fail with -XX:+AssertWXAtThreadSync
Richard Reingruber
rrich at openjdk.org
Thu Jun 6 07:57:50 UTC 2024
I would like to backport https://github.com/openjdk/jdk22u/commit/0c572566963be7f941228deda2691ce2fc456c15 to jdk 21 to get clean testing with -XX:+AssertWXAtThreadSync and avoid crashes because the VM is entered with the wrong WXState. The latter is very unlikely nevertheless aiming for clean tests with -XX:+AssertWXAtThreadSync will help to reduce the probability that users are affected by regressions in this area.
Testing:
I've verified every added WXState change if it is actually required.
The fix passed our CI testing with AssertWXAtThreadSync enabled: JTReg tests: tier1-4 of hotspot and jdk. All of Langtools and jaxp. JCK, SPECjvm2008, SPECjbb2015, Renaissance Suite, and SAP specific tests.
-------------
Commit messages:
- Backport 0c572566963be7f941228deda2691ce2fc456c15
Changes: https://git.openjdk.org/jdk21u-dev/pull/580/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=580&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8327990
Stats: 10 lines in 7 files changed: 9 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/580.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/580/head:pull/580
PR: https://git.openjdk.org/jdk21u-dev/pull/580
More information about the jdk-updates-dev
mailing list