JDK-8133096 : Remove duplicate _worker_id in G1ParClosureSuper
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2015-08-06
  • Updated: 2015-10-28
  • Resolved: 2015-10-28
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 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
G1ParClosureSuper has the fields 

   G1ParScanThreadState* _par_scan_state;
   uint _worker_id;

and later asserts

  assert(_worker_id == _par_scan_state->worker_id(), "sanity");

which means that _worker_id seems to be available via _par_scan_state anyway.

Look if _worker_id can be removed without negative performance impact.