United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7110190 GCCause::to_string missing case for _adaptive_size_policy
JDK-7110190 : GCCause::to_string missing case for _adaptive_size_policy

Details
Type:
Bug
Submit Date:
2011-11-09
Status:
Closed
Updated Date:
2012-03-22
Project Name:
JDK
Resolved Date:
2012-01-23
Component:
hotspot
OS:
windows_xp
Sub-Component:
gc
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs23 (b06)

Related Reports
Backport:
Backport:

Sub Tasks

Description
FULL PRODUCT VERSION :
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)

(Verified that it's still a problem in: http://hg.openjdk.java.net/jdk7u/jdk7u)


FULL OS VERSION :
Applies to ALL OS's.

A DESCRIPTION OF THE PROBLEM :
In hotspot/src/share/vm/gc_interface/gcCause.cpp:

There is not case for _adaptive_size_policy (which is a common condition).

Whenever a cause is printed for this case, the string is: "unknown GCCause", which is quite ambiguous.




THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

REPRODUCIBILITY :
This bug can be reproduced always.

                                    

Comments
EVALUATION

Need to add "case _adaptive_size_policy:" to GCCause::to_string().
                                     
2011-11-09
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/ab5107bee78c
                                     
2011-11-15
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/ab5107bee78c
                                     
2011-11-29
EVALUATION

See main CR
                                     
2011-11-30
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ab5107bee78c
                                     
2012-03-22



Hardware and Software, Engineered to Work Together