RFR: 8292302: Windows GetLastError value overwritten by ThreadLocalStorage::thread

Chris Plummer cjplummer at openjdk.org
Fri Sep 2 16:23:46 UTC 2022


On Fri, 2 Sep 2022 14:47:35 GMT, Kevin Walls <kevinw at 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


More information about the serviceability-dev mailing list