United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7015169 GC Cause not always set
JDK-7015169 : GC Cause not always set

Details
Type:
Bug
Submit Date:
2011-01-27
Status:
Closed
Updated Date:
2011-06-28
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs19
Fixed Versions:
hs21 (b03)

Related Reports
Backport:

Sub Tasks

Description
The GC Cause is not always set up. This can be verified by running:

jstat -gccause <PID> 100

"unknown GCCause" is often listed in the LGCC column.
The GC Cause is not always set up. This can be verified by running:

jstat -gccause <PID> 100

"unknown GCCause" is often listed in the LGCC column.

                                    

Comments
EVALUATION

The _gc_cause is not set by all VM_GC_Operation that can request a GC.
                                     
2011-01-27
SUGGESTED FIX

Yasumasa Suenaga has contributed a patch for this. It will be sent out on review shortly.
                                     
2011-01-27
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/c798c277ddd1
                                     
2011-02-04



Hardware and Software, Engineered to Work Together