8264800: cleanup Threads_lock comments in JVM/TI function headers

Reviewed-by: coleenp, rehn, dholmes, sspitsyn
This commit is contained in:
Daniel D. Daugherty 2021-06-01 18:51:40 +00:00
parent b17b11eb17
commit 40e4171f56
3 changed files with 39 additions and 91 deletions

View file

@ -1364,8 +1364,7 @@ JvmtiEnvBase::check_top_frame(Thread* current_thread, JavaThread* java_thread,
// The ForceEarlyReturn forces return from method so the execution
// continues at the bytecode following the method call.
// Threads_lock NOT held, java_thread not protected by lock
// java_thread - pre-checked
// java_thread - protected by ThreadsListHandle and pre-checked
jvmtiError
JvmtiEnvBase::force_early_return(JavaThread* java_thread, jvalue value, TosState tos) {