United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7024584 Symbol printouts shouldnt be under PrintGCDetails
JDK-7024584 : Symbol printouts shouldnt be under PrintGCDetails

Details
Type:
Bug
Submit Date:
2011-03-04
Status:
Closed
Updated Date:
2011-04-25
Project Name:
JDK
Resolved Date:
2011-04-25
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs21 (b05)

Related Reports
Backport:

Sub Tasks

Description
Since the change:
changeset:   2059:3582bf76420e
user:        coleenp
date:        Thu Jan 27 16:11:27 2011 -0800
summary:     6990754: Use native memory and reference counting to implement SymbolTable

We now print symbol info during SymbolTable::unlink()

if (PrintGCDetails) {
    gclog_or_tty->print(" [Symbols=%d size=%dK] ", total,
                        (memory_total*HeapWordSize)/1024);
  }

This has the effect of changing the format for GC output.
G1 example:
[GC remark [Symbols=8043 size=310K] , 0.0008960 secs]

CMS example:
[GC [ParNew (promotion failed): 27003K->29504K(29504K), 0.0998240 secs][CMS [Symbols=8051 size=310K] : 152035K->32457K(229376K), 0.1605210 secs] 165353K->32457K(258880K), [CMS Perm : 2609K->2608K(21248K)], 0.2608550 secs] [Times: user=0.37 sys=0.03, real=0.26 secs] 

It will also be called in a Full GC, changing the output there as well.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/df1347358fe6
                                     
2011-03-08
EVALUATION

Summary: Put symbol printing under Verbose and WizardMode so you can get this information if you really want it.
Reviewed-by: phh, stefank, never, dholmes, jcoomes
                                     
2011-03-22



Hardware and Software, Engineered to Work Together