hotspot/src/share/vm/oops/methodKlass.cpp
changeset 4584 e2a449e8cc6f
parent 3273 6acf7084b1d3
child 5420 586d3988e72b
equal deleted inserted replaced
4582:1a6662d11385 4584:e2a449e8cc6f
   306     st->print_cr(" - native function:   " INTPTR_FORMAT, m->native_function());
   306     st->print_cr(" - native function:   " INTPTR_FORMAT, m->native_function());
   307     st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler());
   307     st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler());
   308   }
   308   }
   309 }
   309 }
   310 
   310 
       
   311 #endif //PRODUCT
   311 
   312 
   312 void methodKlass::oop_print_value_on(oop obj, outputStream* st) {
   313 void methodKlass::oop_print_value_on(oop obj, outputStream* st) {
   313   assert(obj->is_method(), "must be method");
   314   assert(obj->is_method(), "must be method");
   314   Klass::oop_print_value_on(obj, st);
   315   Klass::oop_print_value_on(obj, st);
   315   methodOop m = methodOop(obj);
   316   methodOop m = methodOop(obj);
   320   st->print(" in ");
   321   st->print(" in ");
   321   m->method_holder()->print_value_on(st);
   322   m->method_holder()->print_value_on(st);
   322   if (WizardMode) st->print("[%d,%d]", m->size_of_parameters(), m->max_locals());
   323   if (WizardMode) st->print("[%d,%d]", m->size_of_parameters(), m->max_locals());
   323   if (WizardMode && m->code() != NULL) st->print(" ((nmethod*)%p)", m->code());
   324   if (WizardMode && m->code() != NULL) st->print(" ((nmethod*)%p)", m->code());
   324 }
   325 }
   325 
       
   326 #endif // PRODUCT
       
   327 
   326 
   328 const char* methodKlass::internal_name() const {
   327 const char* methodKlass::internal_name() const {
   329   return "{method}";
   328   return "{method}";
   330 }
   329 }
   331 
   330