Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8047714

Fix for JDK-6546236 made Solaris os::yield() a no-op

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b24
    • OS:
      solaris
    • Verification:
      Not verified

      Backports

        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.

         

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                fparain Frederic Parain
                Reporter:
                fparain Frederic Parain
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: