RFR: 8282475: SafeFetch should not rely on existence of Thread::current [v6]

Thomas Stuefe stuefe at openjdk.java.net
Fri Mar 11 10:14:43 UTC 2022


On Fri, 11 Mar 2022 09:33:40 GMT, Andrew Haley <aph at openjdk.org> wrote:

> We could also redefine SafeFetch on MacOS/AArch64 to not need WX. We could do this by statically generating SafeFetch on that platform, and it wouldn't be in the JIT region at all. Why not just do that?

Do you mean using inline assembly?

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

PR: https://git.openjdk.java.net/jdk/pull/7727


More information about the serviceability-dev mailing list