Need to add an assert into the JvmtiThreadState::state_for_while_locked to ensure the thread_oop for newly created JvmtiThreadState is never equal to nullptr. The JvmtiThreadState constructor also needs some cleanup as it has some checks for thread_oop not being nullptr.
- relates to
-
JDK-8319935 Ensure only one JvmtiThreadState is created for one JavaThread associated with attached native thread
-
- Resolved
-