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

@ -419,7 +419,7 @@ int ZeroInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) {
// Handle safepoint operations, pending suspend requests,
// and pending asynchronous exceptions.
if (SafepointMechanism::should_block(thread) ||
if (SafepointMechanism::should_process(thread) ||
thread->has_special_condition_for_native_trans()) {
JavaThread::check_special_condition_for_native_trans(thread);
CHECK_UNHANDLED_OOPS_ONLY(thread->clear_unhandled_oops());
@ -551,7 +551,7 @@ int ZeroInterpreter::accessor_entry(Method* method, intptr_t UNUSED, TRAPS) {
intptr_t *locals = stack->sp();
// Drop into the slow path if we need a safepoint check
if (SafepointMechanism::should_block(THREAD)) {
if (SafepointMechanism::should_process(THREAD)) {
return normal_entry(method, 0, THREAD);
}
@ -683,7 +683,7 @@ int ZeroInterpreter::empty_entry(Method* method, intptr_t UNUSED, TRAPS) {
ZeroStack *stack = thread->zero_stack();
// Drop into the slow path if we need a safepoint check
if (SafepointMechanism::should_block(THREAD)) {
if (SafepointMechanism::should_process(THREAD)) {
return normal_entry(method, 0, THREAD);
}