Relates :
|
Fix for JDK-6546236 merged the Solaris os::sleep() implementation with the shared POSIX implementation. However, Solaris code used to call os:sleep(Thread::current(), 0, false) to implement os::yield(), and the os::posix::sleep() method returns immediately if its time argument is zero, which makes the Solaris os::yield() method a no-op.