On Thu, 23 Mar 2023 08:20:18 GMT, Johannes Bechberger <jbechber...@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() We could just add a method `is_writable()` at https://github.com/openjdk/jdk/blob/8af25ec09d47900998b8fb58e2e7d486420df03d/src/hotspot/share/runtime/thread.hpp#L629 and call it in PcDesc code. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13144#issuecomment-1480797638