comparison src/share/vm/oops/constantPoolKlass.cpp @ 1601:126ea7725993

6953477: Increase portability and flexibility of building Hotspot Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
author bobv
date Tue, 03 Aug 2010 08:13:38 -0400
parents 083fde3b838e
children 7fcd5f39bd7a
comparison
equal deleted inserted replaced
12:4889109341db 13:eee0334741ee
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");