mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8252661: Change SafepointMechanism terminology to talk less about "blocking"
Reviewed-by: rehn, shade, dholmes
This commit is contained in:
parent
e0c8d4420c
commit
e29c3f6123
12 changed files with 33 additions and 33 deletions
|
@ -1783,7 +1783,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::should_block(Self)) {
|
||||
if (SafepointMechanism::should_process(Self)) {
|
||||
goto Abort; // abrupt spin egress
|
||||
}
|
||||
SpinPause();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue