RFR: 8283849: AsyncGetCallTrace may crash JVM on guarantee [v3]
Thomas Stuefe
stuefe at openjdk.java.net
Wed May 4 13:21:16 UTC 2022
On Wed, 4 May 2022 13:08:40 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > But if using a TLS to avoid funnelling extra arg is something what would usually be done I will revisit the patch and use that instead.
>
> You can't set TLS from a signal handler either. Reading library-based TLS is considered safe enough.
No need, since you only need to adjust a member inside Thread. e.g.
`Thread::current()->set_unsafe_access_mode(true)` inside AGCT.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8061
More information about the hotspot-dev
mailing list