JDK-8202018 : Move card table clear before enqueuing pending references
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-04-19
  • Updated: 2018-06-21
  • Resolved: 2018-05-03
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
11 b13Fixed
Related Reports
Blocks :  
Description
The card table clearing in G1 (which is to clear card marks that the scan rs/update rs phase did for duplicate card detection) in the post evacuation phase is done between reference processing and reference enqueuing.

This prevents G1 to merge phase the latter into the former.

There is no reason to put card table clear there: both scan rs and update rs, which are the only phases that add regions to the list of regions to be cleared, already completely finished before.