JDK-8040006 : Merge "Other" time parallel phases into a single
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u40,9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-04-11
  • Updated: 2019-02-11
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Recently a few parts of the "Other" time (and actually there are phases outside "Other" that are already parallelized) were parallelized, each using its own gangtask.

To avoid the constant startup/termination synchronization of the gang threads, try to merge the work into a single (or an appropriate amount of) gangs.

I added a few CRs that added gang tasks that could be considered for that work.
Comments
Obvious candidates (at this time) are work by the WeakProcessor and the card table clearing (remembered set cleanup).
24-01-2019

The G1ParallelCleaningTask is an example of multiple tasks done with a single gang.
14-04-2015