mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8229516: Thread.isInterrupted() always returns false after thread termination
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
This commit is contained in:
parent
fd077ea9ae
commit
1d50b2761c
30 changed files with 106 additions and 264 deletions
|
@ -373,6 +373,7 @@ class java_lang_Thread : AllStatic {
|
|||
static int _inheritedAccessControlContext_offset;
|
||||
static int _priority_offset;
|
||||
static int _eetop_offset;
|
||||
static int _interrupted_offset;
|
||||
static int _daemon_offset;
|
||||
static int _stillborn_offset;
|
||||
static int _stackSize_offset;
|
||||
|
@ -391,6 +392,9 @@ class java_lang_Thread : AllStatic {
|
|||
static JavaThread* thread(oop java_thread);
|
||||
// Set JavaThread for instance
|
||||
static void set_thread(oop java_thread, JavaThread* thread);
|
||||
// Interrupted status
|
||||
static bool interrupted(oop java_thread);
|
||||
static void set_interrupted(oop java_thread, bool val);
|
||||
// Name
|
||||
static oop name(oop java_thread);
|
||||
static void set_name(oop java_thread, oop name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue