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

Kevin Walls kevinw at openjdk.org
Tue Sep 13 07:38:02 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.

This pull request has now been integrated.

Changeset: dfc16e04
Author:    Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/dfc16e047f1f8adaa8510574d00bf9f958902c43
Stats:     105 lines in 3 files changed: 101 ins; 0 del; 4 mod

8292302: Windows GetLastError value overwritten by ThreadLocalStorage::thread

Reviewed-by: cjplummer, dholmes, dcubed

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

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


More information about the hotspot-dev mailing list