RFR: 8304725: AsyncGetCallTrace can cause SIGBUS on M1

Johannes Bechberger jbechberger at openjdk.org
Wed Mar 22 16:20:57 UTC 2023


Fixes the issue by transitioning the thread into the WXWrite mode while walking the stack in AsyncGetCallTrace.

Tested on my M1 mac.

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

Commit messages:
 - Fix 8304725

Changes: https://git.openjdk.org/jdk/pull/13144/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13144&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304725
  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13144.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13144/head:pull/13144

PR: https://git.openjdk.org/jdk/pull/13144


More information about the serviceability-dev mailing list