JDK-7024584 : Symbol printouts shouldnt be under PrintGCDetails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-04
  • Updated: 2011-04-25
  • Resolved: 2011-04-25
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 7 Other
7Fixed hs21Fixed
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 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
22-03-2011

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