JDK-8231094 : os::sleep in assert message should be changed to JavaThread::sleep
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-17
  • Updated: 2019-09-26
  • Resolved: 2019-09-17
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 14
14 b15Fixed
Related Reports
Relates :  
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
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/cea6839598e8 User: dholmes Date: 2019-09-17 23:10:03 +0000
17-09-2019

I'll sneak this in with JDK-8230424 (the interrupt changes).
17-09-2019

Gosh darn it! I grepped for os:;sleep after the change but missed it somehow. <sigh> Thanks Ioi.
17-09-2019