JDK-8214180 : Need better granularity for sleeping
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-11-21
  • Updated: 2020-12-16
  • Resolved: 2018-12-20
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 11 JDK 13
11.0.11-oracleFixed 13 b02Fixed
Related Reports
Duplicate :  
Description
naked_short_sleep is to coarse grained on contemporary hardware/os:es.
1 ms as minimum when we can complete an entire safe-point in 0.5 ms is a very long time.
Sleeping a very short time instead yielding have several uses-cases.

I will first add it SpinYield to get much smother back-off delay curve.
Comments
Fix request (11u) I would like to downport this as prerequisite for the downport of JDK-8244340. Applies clean.
11-12-2020