8211403: Rename SafepointMechanism::poll(...)

Reviewed-by: mdoerr, dcubed, dholmes
This commit is contained in:
Robbin Ehn 2018-11-08 14:32:49 +01:00
parent b2541f90e6
commit e35e0ab165
8 changed files with 13 additions and 13 deletions

View file

@ -381,7 +381,7 @@ int CppInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) {
// Handle safepoint operations, pending suspend requests,
// and pending asynchronous exceptions.
if (SafepointMechanism::poll(thread) ||
if (SafepointMechanism::should_block(thread) ||
thread->has_special_condition_for_native_trans()) {
JavaThread::check_special_condition_for_native_trans(thread);
CHECK_UNHANDLED_OOPS_ONLY(thread->clear_unhandled_oops());
@ -513,7 +513,7 @@ int CppInterpreter::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::poll(THREAD)) {
if (SafepointMechanism::should_block(THREAD)) {
return normal_entry(method, 0, THREAD);
}
@ -645,7 +645,7 @@ int CppInterpreter::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::poll(THREAD)) {
if (SafepointMechanism::should_block(THREAD)) {
return normal_entry(method, 0, THREAD);
}