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

os::sleep in assert message should be changed to JavaThread::sleep

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      This assert message still mentions os::sleep.

      http://hg.openjdk.java.net/jdk/jdk/file/00aebe177a71/src/hotspot/share/runtime/thread.cpp#l3392

            assert(!os::supports_monotonic_clock(),
                   "unexpected time moving backwards detected in os::sleep()");

      It should be changed to JavaThread::sleep after JDK-8230423: Move os::sleep to JavaThread::sleep

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dholmes David Holmes
                Reporter:
                iklam Ioi Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: