comparison src/share/vm/oops/methodKlass.cpp @ 1155:4e6abf09f540

6912062: disassembler plugin needs to produce symbolic information in product mode Summary: More informative disassembly in product mode. Also, a more consistent CompileCommand syntax. Reviewed-by: never
author jrose
date Fri, 08 Jan 2010 13:47:01 -0800
parents 75596850f863
children cd5dbf694d45
comparison
equal deleted inserted replaced
1153:bea7a22a6f79 1155:4e6abf09f540
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