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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • None
    • hotspot
    • None
    • 9
    • b24
    • solaris
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: