[jdk17u-dev] RFR: 8327036: [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_blob reached from Unsafe_CopySwapMemory0
Richard Reingruber
rrich at openjdk.org
Fri Mar 8 09:25:18 UTC 2024
This pull request contains a backport of commit [ad1d3248](https://github.com/openjdk/jdk21u-dev/commit/ad1d32484a8130c9b641cff38c07e8544b3fd271) from the [openjdk/jdk21u-dev](https://git.openjdk.org/jdk21u-dev) repository.
With the change the current thread switches to `WXWrite` mode before transitioning into the vm in `JVM_ENTRY_FROM_LEAF`.
Testing:
`test/jdk/sun/nio/cs/FindDecoderBugs.java` with `-XX:+AssertWXAtThreadSync`
The fix passed our CI testing: JTReg tests: tier1-4 of hotspot and jdk. All of Langtools and jaxp. JCK, SPECjvm2008, SPECjbb2015, Renaissance Suite, and SAP specific tests (also with ParallelGC).
Testing was done with fastdebug builds on the main platforms and also on Linux/PPC64le.
Thanks!
-------------
Commit messages:
- Backport ad1d32484a8130c9b641cff38c07e8544b3fd271
Changes: https://git.openjdk.org/jdk17u-dev/pull/2269/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2269&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8327036
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/2269.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2269/head:pull/2269
PR: https://git.openjdk.org/jdk17u-dev/pull/2269
More information about the jdk-updates-dev
mailing list