JDK-8163578 : G1 Full GC should not process free regions
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-08-10
  • Updated: 2018-03-29
  • Resolved: 2018-03-29
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
tbd_majorResolved
Related Reports
Duplicate :  
Description
G1 full gc visits free regions during the various phases of the MSC algorithm.

This is completely unnecessary, and just slows down performance.

This mostly affects system.gc calls by the user called on almost empty heaps for whatever reason.

Anecdotally, system.gc duration at startup for specjvm benchmarks can be decreased by ~15% already by only applying this optimization to the compaction phase (this is a very special case).