8252661: Change SafepointMechanism terminology to talk less about "blocking"

Reviewed-by: rehn, shade, dholmes
This commit is contained in:
Erik Österlund 2020-09-07 13:59:24 +00:00
parent e0c8d4420c
commit e29c3f6123
12 changed files with 33 additions and 33 deletions

View file

@ -2628,7 +2628,7 @@ void JavaThread::java_suspend_self_with_safepoint_check() {
// we must manually emit the instruction barrier after leaving a safe state.
OrderAccess::cross_modify_fence();
if (state != _thread_in_native) {
SafepointMechanism::block_if_requested(this);
SafepointMechanism::process_if_requested(this);
}
}
@ -2658,7 +2658,7 @@ void JavaThread::check_safepoint_and_suspend_for_native_trans(JavaThread *thread
if (thread->is_external_suspend()) {
thread->java_suspend_self_with_safepoint_check();
} else {
SafepointMechanism::block_if_requested(thread);
SafepointMechanism::process_if_requested(thread);
}
JFR_ONLY(SUSPEND_THREAD_CONDITIONAL(thread);)