JDK-8011882 : Replace spin loops as back off when suspending
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: hs24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-04-10
  • Updated: 2013-06-26
  • Resolved: 2013-04-23
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 7 Other
7u40Fixed hs24Fixed
Description
do_suspend on the unix platforms use spin loops while waiting for the suspendee to suspend. After a while the spin loops are suposed to time out and back out. This mechanism could be better implemented with something that requires less CPU (currently spinning can cause CPU usage to go to 100%) and has a better way of specifying how long to wait before backing out.