RFR: 8304725: AsyncGetCallTrace can cause SIGBUS on M1 [v3]

Johannes Bechberger jbechberger at openjdk.org
Thu Mar 23 08:29:44 UTC 2023


On Thu, 23 Mar 2023 08:20:18 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.
>
> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use raw_thread instead of Thread::current()

The best alternative to me is to take the perf hit and disable the caching when we're in forte (possibly only on Mac).

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

PR Comment: https://git.openjdk.org/jdk/pull/13144#issuecomment-1480772888


More information about the serviceability-dev mailing list