hotspot/src/os/solaris/vm/osThread_solaris.cpp
changeset 23865 ba4aeedb2a9f
parent 23443 15e8ed68f73a
child 25351 7c198a690050
--- a/hotspot/src/os/solaris/vm/osThread_solaris.cpp	Wed Apr 02 16:08:59 2014 +0100
+++ b/hotspot/src/os/solaris/vm/osThread_solaris.cpp	Thu Apr 03 09:28:28 2014 +0000
@@ -49,16 +49,6 @@
 
 // copied from synchronizer.cpp
 
-void OSThread::handle_spinlock_contention(int tries) {
-  if (NoYieldsInMicrolock) return;
-
-  if (tries > 10) {
-    os::yield_all(tries); // Yield to threads of any priority
-  } else if (tries > 5) {
-    os::yield();          // Yield to threads of same or higher priority
-  }
-}
-
 void OSThread::SR_handler(Thread* thread, ucontext_t* uc) {
   os::Solaris::SR_handler(thread, uc);
 }