JDK-8058801 : G1TraceReclaimDeadHumongousObjectsAtYoungGC only prints humongous object liveness output when there is at least one candidate humongous object
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u40,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-09-19
  • Updated: 2015-09-29
  • Resolved: 2014-10-10
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 8 JDK 9
8u60Fixed 9 b37Fixed
Related Reports
Relates :  
Relates :  
Description
The option G1TraceReclaimDeadHumongousObjectsAtYoungGC prints some information about live and dead humongous objects during early reclaim of humongous objects (JDK-8048180).

However, it only does so when there is at least one humongous object candidate. This is problematic since this makes getting further information about humongous objects somewhat unreliable.

The problem is that early in the GC phase, we check whether there are any candidates, and if not, skip the actual humongous reclaim phase (because there is nothing that can be reclaimed).

It would be preferable that if G1TraceReclaimDeadHumongousObjectsAtYoungGC is set, do not skip the humongous reclaim phase even if it cannot reclaim anything, but at least print the information.

Also, add humongous object size to the output.

This would help analyzing for JDK-8048179.