src/share/vm/opto/phaseX.cpp

changeset 3260
670a74b863fc
parent 3154
075ea0ed9e7c
child 3947
611e8a669a2c
     1.1 --- a/src/share/vm/opto/phaseX.cpp	Wed Nov 09 06:14:32 2011 -0800
     1.2 +++ b/src/share/vm/opto/phaseX.cpp	Wed Nov 09 07:25:51 2011 -0800
     1.3 @@ -322,11 +322,12 @@
     1.4  void NodeHash::dump() {
     1.5    _total_inserts       += _inserts;
     1.6    _total_insert_probes += _insert_probes;
     1.7 -  if( PrintCompilation && PrintOptoStatistics && Verbose && (_inserts > 0) ) { // PrintOptoGVN
     1.8 -    if( PrintCompilation2 ) {
     1.9 -      for( uint i=0; i<_max; i++ )
    1.10 -      if( _table[i] )
    1.11 -        tty->print("%d/%d/%d ",i,_table[i]->hash()&(_max-1),_table[i]->_idx);
    1.12 +  if (PrintCompilation && PrintOptoStatistics && Verbose && (_inserts > 0)) {
    1.13 +    if (WizardMode) {
    1.14 +      for (uint i=0; i<_max; i++) {
    1.15 +        if (_table[i])
    1.16 +          tty->print("%d/%d/%d ",i,_table[i]->hash()&(_max-1),_table[i]->_idx);
    1.17 +      }
    1.18      }
    1.19      tty->print("\nGVN Hash stats:  %d grows to %d max_size\n", _grows, _max);
    1.20      tty->print("  %d/%d (%8.1f%% full)\n", _inserts, _max, (double)_inserts/_max*100.0);

mercurial