mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
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:
parent
5e26e64cbf
commit
ceca198ef2
4 changed files with 25 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue