mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +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
|
@ -1641,7 +1641,7 @@ int ObjectMonitor::TrySpin(Thread * Self) {
|
|||
// 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue