8043630: Method os::yield_all() should be removed

Reviewed-by: dholmes, dsimms
This commit is contained in:
Frederic Parain 2014-06-23 06:58:26 -07:00
parent d9a2dbc73b
commit 5507f2b476
9 changed files with 9 additions and 58 deletions

View file

@ -3186,11 +3186,6 @@ void os::yield() {
os::YieldResult os::NakedYield() { thr_yield(); return os::YIELD_UNKNOWN; }
void os::yield_all() {
// Yields to all threads, including threads with lower priorities
os::sleep(Thread::current(), 1, false);
}
// Interface for setting lwp priorities. If we are using T2 libthread,
// which forces the use of BoundThreads or we manually set UseBoundThreads,
// all of our threads will be assigned to real lwp's. Using the thr_setprio