8303624: The java.lang.Thread.FieldHolder can be null for JNI attaching threads

Reviewed-by: alanb, dcubed
This commit is contained in:
David Holmes 2023-03-10 03:08:26 +00:00
parent d06308c54a
commit e26cc52600
3 changed files with 42 additions and 37 deletions

View file

@ -454,9 +454,9 @@ class java_lang_Thread_FieldHolder : AllStatic {
static jlong stackSize(oop holder);
static bool is_daemon(oop holder);
static void set_daemon(oop holder);
static void set_daemon(oop holder, bool val);
static void set_thread_status(oop holder, JavaThreadStatus);
static void set_thread_status(oop holder, JavaThreadStatus status);
static JavaThreadStatus get_thread_status(oop holder);
friend class JavaClasses;