JDK-8230332 : G1DirtyCardQueueSet _notify_when_complete is always true
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-08-29
  • Updated: 2019-09-26
  • Resolved: 2019-08-29
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 14
14 b13Fixed
Related Reports
Relates :  
Description
G1DirtyCardQueueSet has a _notify_when_complete member, used to control whether adding completed buffers should notify the completed buffer monitor.  It is initialized from a constructor argument that defaults to true.

With the separation of G1RedirtyCardsQueueSet from G1DirtyCardQueueSet (JDK-8162929), the DCQS is a singleton, with that default value never overridden and the member never modified.  We can just remove the member and conditionalization on it.

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/18863bf3501f User: kbarrett Date: 2019-08-29 22:53:18 +0000
29-08-2019