[jdk22u] RFR: 8327990: [macosx-aarch64] Various tests fail with -XX:+AssertWXAtThreadSync

Richard Reingruber rrich at openjdk.org
Tue Apr 9 13:53:39 UTC 2024


Hi,

this PR contains a backport of commit https://github.com/openjdk/jdk/commit/e41bc42deb22615c9b93ee639d04e9ed2bd57f64.

It did not apply cleanly because `JfrRecorderService::emit_leakprofiler_events()` does not exist in jdk 22 so I left out the hunk in `jfrRecorderService.cpp`.

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:
 - 8327990: [macosx-aarch64] Various tests fail with -XX:+AssertWXAtThreadSync

Changes: https://git.openjdk.org/jdk22u/pull/133/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk22u&pr=133&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/jdk22u/pull/133.diff
  Fetch: git fetch https://git.openjdk.org/jdk22u.git pull/133/head:pull/133

PR: https://git.openjdk.org/jdk22u/pull/133


More information about the jdk-updates-dev mailing list