RFR: 8292302: Windows GetLastError value overwritten by ThreadLocalStorage::thread [v2]

Kevin Walls kevinw at openjdk.org
Mon Sep 12 08:30:43 UTC 2022


On Tue, 6 Sep 2022 08:42:13 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.
>
> Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Comment update

Thanks Chris, David and Dan.
Dan,  will update with those changes shortly, and now I know this one is going in I'll get that other stress test I had into a new JBS bug and link it.

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

PR: https://git.openjdk.org/jdk/pull/10147


More information about the hotspot-dev mailing list