hotspot/src/share/vm/runtime/synchronizer.cpp
changeset 25477 7dad9f95fd31
parent 25472 381638db28e6
child 25633 4cd9c4622c8c
--- a/hotspot/src/share/vm/runtime/synchronizer.cpp	Mon Jul 07 12:08:07 2014 -0400
+++ b/hotspot/src/share/vm/runtime/synchronizer.cpp	Tue Jul 08 08:04:06 2014 -0700
@@ -449,7 +449,7 @@
     ++its;
     if (its > 10000 || !os::is_MP()) {
        if (its & 1) {
-         os::NakedYield();
+         os::naked_yield();
          TEVENT(Inflate: INFLATING - yield);
        } else {
          // Note that the following code attenuates the livelock problem but is not
@@ -479,7 +479,7 @@
            if ((YieldThenBlock++) >= 16) {
               Thread::current()->_ParkEvent->park(1);
            } else {
-              os::NakedYield();
+              os::naked_yield();
            }
          }
          Thread::muxRelease(InflationLocks + ix);