On Fri, 2 Sep 2022 14:47:35 GMT, Kevin Walls <kev...@openjdk.org> wrote:
> This is an MR which partially reverts JDK-8289091 such that > JavaThread::threadObj() does not call Thread::current(). > > A JVMTI operation could call threadObj() and clear the Windows GetLastError > value. > > Partial, because I haven't reverted changes in JavaThread::print_on_error(), > they aren't connected to the problems seen. The new test looks good. I'll let someone with a better understanding of JDK-8289091 comment on the runtime changes. ------------- Marked as reviewed by cjplummer (Reviewer). PR: https://git.openjdk.org/jdk/pull/10147