JDK-8165848 : Remove locks by lock-free algorithms in global mark stack
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2016-09-12
  • Updated: 2019-02-11
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
tbdUnresolved
Related Reports
Relates :  
Description
In JDK-8159422 we tried to improve the lock contention on the global mark stack by increasing the size of the chunks operated on significantly and tightening the scope of the locks themselves.

Due to time and code infrastructure (reusable, hazard pointers, tagged pointers, ...) constraints we did not use these lock-free data structures yet.

Testing on large machines with a significant amount of arrays of j.l.O, we found that the steps taken are not sufficient: marking cycle length is significantly longer (50s instead of 20s), and even sometimes does not complete in time, going into full gc after 300s.

Remedy that.