hotspot/src/share/vm/oops/constantPoolKlass.cpp
changeset 6176 4d9030fe341f
parent 6062 bab93afe9df7
child 6255 0cbe4eb819f0
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
   297     }
   297     }
   298   }
   298   }
   299 }
   299 }
   300 #endif // SERIALGC
   300 #endif // SERIALGC
   301 
   301 
   302 #ifndef PRODUCT
       
   303 
       
   304 // Printing
   302 // Printing
   305 
   303 
   306 void constantPoolKlass::oop_print_on(oop obj, outputStream* st) {
   304 void constantPoolKlass::oop_print_on(oop obj, outputStream* st) {
   307   EXCEPTION_MARK;
   305   EXCEPTION_MARK;
   308   oop anObj;
   306   oop anObj;
   390     st->cr();
   388     st->cr();
   391   }
   389   }
   392   st->cr();
   390   st->cr();
   393 }
   391 }
   394 
   392 
   395 #endif
       
   396 
       
   397 void constantPoolKlass::oop_print_value_on(oop obj, outputStream* st) {
   393 void constantPoolKlass::oop_print_value_on(oop obj, outputStream* st) {
   398   assert(obj->is_constantPool(), "must be constantPool");
   394   assert(obj->is_constantPool(), "must be constantPool");
   399   constantPoolOop cp = constantPoolOop(obj);
   395   constantPoolOop cp = constantPoolOop(obj);
   400   st->print("constant pool [%d]", cp->length());
   396   st->print("constant pool [%d]", cp->length());
   401   if (cp->has_pseudo_string()) st->print("/pseudo_string");
   397   if (cp->has_pseudo_string()) st->print("/pseudo_string");