8307068: store a JavaThread* in the java.lang.Thread object after the JavaThread* is added to the main ThreadsList

Reviewed-by: dholmes, rehn, apangin
This commit is contained in:
Daniel D. Daugherty 2023-05-13 14:41:19 +00:00
parent 5e26e64cbf
commit ceca198ef2
4 changed files with 25 additions and 9 deletions

View file

@ -366,8 +366,10 @@ class java_lang_Thread : AllStatic {
// Returns the JavaThread associated with the thread obj
static JavaThread* thread(oop java_thread);
static JavaThread* thread_acquire(oop java_thread);
// Set JavaThread for instance
static void set_thread(oop java_thread, JavaThread* thread);
static void release_set_thread(oop java_thread, JavaThread* thread);
// FieldHolder
static oop holder(oop java_thread);
// Interrupted status