--- old/src/os/bsd/vm/os_bsd.cpp Tue Apr 1 08:13:54 2014 +++ new/src/os/bsd/vm/os_bsd.cpp Tue Apr 1 08:13:53 2014 @@ -2548,7 +2548,7 @@ os::YieldResult os::NakedYield() { sched_yield(); return os::YIELD_UNKNOWN ;} -void os::yield_all(int attempts) { +void os::yield_all() { // Yields to all threads, including threads with lower priorities // Threads on Bsd are all with same priority. The Solaris style // os::yield_all() with nanosleep(1ms) is not necessary. @@ -2555,11 +2555,6 @@ sched_yield(); } -// Called from the tight loops to possibly influence time-sharing heuristics -void os::loop_breaker(int attempts) { - os::yield_all(attempts); -} - //////////////////////////////////////////////////////////////////////////////// // thread priority support