JDK-8236981 : Shenandoah: Remove ShenandoahTraversalUpdateRefsClosure
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 15
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-01-12
  • Updated: 2020-08-01
  • Resolved: 2020-03-06
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 15
15 b14Fixed
Related Reports
Relates :  
Relates :  
Description
JDK-8231324 introduced ShenandoahTraversalUpdateRefsClosure. This is used in stw_process_weak_roots() and compared to the regular ShenandoahUpdateRefsClosure, it only checks for additional in_traversal_set(). However, in-traversal-set don't need to be updated, only in-cset that is also checked. It's reasonable to use the equivalent ShenandoahUpdateRefsClosure. This is a performance issue during the final-traversal-pause.
Comments
[~rkennke], could you please confirm that the defect is fixed in jdk15 w/ the fix? if it's so, please close/verify this bug as 'verified'
15-07-2020

This issue does not require backports, because JDK-8242082 removed Traversal.
01-05-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/942c6102590a User: rkennke Date: 2020-03-06 13:08:28 +0000
06-03-2020