On Thu, 10 Mar 2022 07:31:47 GMT, Anton Kozlov <akoz...@openjdk.org> wrote:

> How in general safe to call SafeFetch on a native thread that has no Thread 
> object? The JVM has not initialized the thread, so there could be no JVM 
> signal handler installed. 

@AntonKozlov Signal handlers are per-process not per-thread, so a thread need 
not be attached to the VM for our signal handlers to get involved - that is why 
they call `Thread::current_or_null_safe()`.

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

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

Reply via email to