RFR: 8304725: AsyncGetCallTrace can cause SIGBUS on M1
Thomas Stuefe
stuefe at openjdk.org
Thu Mar 23 07:06:43 UTC 2023
On Wed, 22 Mar 2023 15:57:40 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
> Fixes the issue by transitioning the thread into the WXWrite mode while walking the stack in AsyncGetCallTrace.
>
> Tested on my M1 mac.
Okay. Though the prospect of async profiler modifying the code cache by walking the stack seems scary.
-------------
Marked as reviewed by stuefe (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13144#pullrequestreview-1353962184
More information about the serviceability-dev
mailing list