JDK-8215299 : Remove G1CMTask::should_exit_termination()'s undesirable side-effect
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-12-12
  • Updated: 2019-05-16
  • Resolved: 2019-01-16
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 12 JDK 13
12.0.2Fixed 13 b04Fixed
Related Reports
Blocks :  
Description
JDK-8215047 attempts to close race window in task terminators, but side-effect of G1CMTask::should_exit_termination() call prevents it from moving forward. Please see comments in JDK-8215047 for details.
Comments
Fix Request: I would like to backport this patch to JDK12u, as this patch, along with JDK-8215047 and JDK-8217794 (both requested and approved), improves task termination latency, by avoiding false-positive result of termination check. This also blocks backport of JDK-8215047 and JDK-8217794.
12-03-2019

Code review: http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-January/024402.html
09-01-2019

Passed hotspot_gc with pending JDK-8215047 patch + G1 patch, with PTT and OWST terminators.
12-12-2018