The function JvmtiThreadState::process_pending_interp_only() should protect the check of state->is_pending_interp_only_mode() and call to the JvmtiEventController::enter_interp_only_mode(state) with JvmtiThreadState_lock. Some level of optimization is needed because the code path where the process_pending_interp_only() is called is hot.
- relates to
-
JDK-8373367 interp-only mechanism fails to work for carrier threads in a corner case
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/d6044d3e
-
Review(master)
openjdk/jdk/29800