8229516: Thread.isInterrupted() always returns false after thread termination

Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
This commit is contained in:
David Holmes 2019-11-03 18:02:29 -05:00
parent fd077ea9ae
commit 1d50b2761c
30 changed files with 106 additions and 264 deletions

View file

@ -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);