RFR: 8304725: AsyncGetCallTrace can cause SIGBUS on M1

Erik Österlund eosterlund at openjdk.org
Thu Mar 23 07:09:40 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.

Drive by comment: how async safe is WX enabler? If a thread is in the middle of it and we shoot a signal and enable, what will happen?

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

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


More information about the serviceability-dev mailing list