JDK-6733980 : par compact - TraceGen1Time always shows 0.0000 seconds
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:5.0u6
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2008-08-05
Updated:2013-04-30
Resolved:2013-03-15
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.
java -XX:+UseParallelOldGC -XX:+TraceGen1Time ...
always shows this output, even if the many full GCs occurred:
[Accumulated GC generation 1 time 0.0000000 secs]
Comments
EVALUATION
The time is measured, but not printed out. ParallelScavengeHeap::print_tracing_info() does not test whether parallel compaction is in use.