JDK-8035406 : Improve data structure for Code Cache remembered sets
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u20,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-20
  • Updated: 2014-07-29
  • Resolved: 2014-03-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.
8u20Fixed 9 b08Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
In JDK-7145569 per region remembered sets for code cache roots were introduced.

The data structure for this was a simple GrowableArray. Measurements for JDK-8027295 have shown that reclaiming them is a serious performance bottleneck.

Also JDK-8025813 G1: Code root marking unbalanced requires a better data structure that is more amenable to parallelize.

The idea is to change the GrowableArray into a list of chunks containing the nmethod references.