JDK-8047714 : Fix for JDK-6546236 made Solaris os::yield() a no-op
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • Submitted: 2014-06-20
  • Updated: 2024-12-05
  • Resolved: 2014-07-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b24Fixed
Related Reports
Relates :  
Description
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.

 
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/4f9fa4b62c18 User: lana Date: 2014-07-18 15:31:04 +0000
18-07-2014

URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/4f9fa4b62c18 User: fparain Date: 2014-07-08 16:02:09 +0000
08-07-2014