comparison src/share/vm/oops/klass.cpp @ 1681: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 c18cbe5936b8
children 79d04223b8a5 f95d63e2154a
comparison
equal deleted inserted replaced
1680:a64438a2b7e8 1681:126ea7725993
518 // Unless overridden, jvmti_class_status has no flags set. 518 // Unless overridden, jvmti_class_status has no flags set.
519 jint Klass::jvmti_class_status() const { 519 jint Klass::jvmti_class_status() const {
520 return 0; 520 return 0;
521 } 521 }
522 522
523 #ifndef PRODUCT
524
525 // Printing 523 // Printing
526 524
527 void Klass::oop_print_on(oop obj, outputStream* st) { 525 void Klass::oop_print_on(oop obj, outputStream* st) {
528 ResourceMark rm; 526 ResourceMark rm;
529 // print title 527 // print title
538 // print class 536 // print class
539 st->print(" - klass: "); 537 st->print(" - klass: ");
540 obj->klass()->print_value_on(st); 538 obj->klass()->print_value_on(st);
541 st->cr(); 539 st->cr();
542 } 540 }
543
544 #endif //PRODUCT
545 541
546 void Klass::oop_print_value_on(oop obj, outputStream* st) { 542 void Klass::oop_print_value_on(oop obj, outputStream* st) {
547 // print title 543 // print title
548 ResourceMark rm; // Cannot print in debug mode without this 544 ResourceMark rm; // Cannot print in debug mode without this
549 st->print("%s", internal_name()); 545 st->print("%s", internal_name());