mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8211403: Rename SafepointMechanism::poll(...)
Reviewed-by: mdoerr, dcubed, dholmes
This commit is contained in:
parent
b2541f90e6
commit
e35e0ab165
8 changed files with 13 additions and 13 deletions
|
@ -162,7 +162,7 @@ class ThreadStateTransition : public StackObj {
|
|||
// We never install asynchronous exceptions when coming (back) in
|
||||
// to the runtime from native code because the runtime is not set
|
||||
// up to handle exceptions floating around at arbitrary points.
|
||||
if (SafepointMechanism::poll(thread) || thread->is_suspend_after_native()) {
|
||||
if (SafepointMechanism::should_block(thread) || thread->is_suspend_after_native()) {
|
||||
JavaThread::check_safepoint_and_suspend_for_native_trans(thread);
|
||||
|
||||
// Clear unhandled oops anywhere where we could block, even if we don't.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue