JDK-8189741 : Balance the compaction phase for G1 Full GC
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2017-10-20
  • 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
Blocks :  
Description
The compaction phase is currently not well balanced. The work done in this phase is determined by what regions the worker prepare in phase 2 (the prepare for compaction phase). Since there is no easy obvious way to steal work without adding a lot of synchronization this has to be solved in a smarter way.

There have been some discussions about how to create smaller work items that all can be done in parallel and than let the workers claim such work items. There might be other ways to tackle this as well.