RFR: 8292302: Windows GetLastError value overwritten by ThreadLocalStorage::thread
Kevin Walls
kevinw at openjdk.org
Fri Sep 2 15:09:47 UTC 2022
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.
-------------
Commit messages:
- chmod
- whitespace
- 8292302: GetLastError value overwritten when running in debugger
Changes: https://git.openjdk.org/jdk/pull/10147/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10147&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292302
Stats: 102 lines in 3 files changed: 98 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/10147.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10147/head:pull/10147
PR: https://git.openjdk.org/jdk/pull/10147
More information about the hotspot-dev
mailing list