JDK-8200558 : Merge os::naked_sleep variants for POSIX platforms
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9,10,11
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2018-04-01
  • Updated: 2019-05-02
  • Resolved: 2019-01-15
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.
Other
tbdResolved
Related Reports
Duplicate :  
Description
The Solaris version of os::naked_sleep calls usleep, while all other POSIX ports call nanosleep.  The reason for the Solaris difference is that use of nanonsleep requires -lrt.  But it appears that on Solaris we are linking with -lrt.  (See flags.m4 "Set $2JVM_LIBS (per os)".)

This suggests we could merge all the POSIX versions.  (Windows of course remains different.)

Comments
This has already been handled by JDK-8214180.
15-01-2019