Mercurial > hg > truffle
comparison src/share/vm/oops/methodKlass.cpp @ 1161:1fc01a2425ce
Merge
author | iveresov |
---|---|
date | Tue, 12 Jan 2010 13:54:40 -0800 |
parents | 4e6abf09f540 |
children | cd5dbf694d45 |
comparison
equal
deleted
inserted
replaced
1149:0579c695832f | 1161:1fc01a2425ce |
---|---|
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 |