changeset 52450 | 2790da836dc3 |
parent 51960 | bb1d5dd64897 |
child 53557 | 4cfe0e5a3b79 |
--- a/src/hotspot/share/runtime/objectMonitor.cpp Thu Nov 08 10:08:52 2018 +0100 +++ b/src/hotspot/share/runtime/objectMonitor.cpp Thu Nov 08 14:32:49 2018 +0100 @@ -1641,7 +1641,7 @@ // This is in keeping with the "no loitering in runtime" rule. // We periodically check to see if there's a safepoint pending. if ((ctr & 0xFF) == 0) { - if (SafepointMechanism::poll(Self)) { + if (SafepointMechanism::should_block(Self)) { goto Abort; // abrupt spin egress } SpinPause();