src/share/vm/oops/methodKlass.cpp

changeset 3969
1d7922586cf6
parent 3826
2fe087c3e814
equal deleted inserted replaced
3944:aba91a731143 3969:1d7922586cf6
236 st->print_cr(" - intrinsic id: %d %s", m->intrinsic_id(), vmIntrinsics::name_at(m->intrinsic_id())); 236 st->print_cr(" - intrinsic id: %d %s", m->intrinsic_id(), vmIntrinsics::name_at(m->intrinsic_id()));
237 if (m->highest_comp_level() != CompLevel_none) 237 if (m->highest_comp_level() != CompLevel_none)
238 st->print_cr(" - highest level: %d", m->highest_comp_level()); 238 st->print_cr(" - highest level: %d", m->highest_comp_level());
239 st->print_cr(" - vtable index: %d", m->_vtable_index); 239 st->print_cr(" - vtable index: %d", m->_vtable_index);
240 st->print_cr(" - i2i entry: " INTPTR_FORMAT, m->interpreter_entry()); 240 st->print_cr(" - i2i entry: " INTPTR_FORMAT, m->interpreter_entry());
241 st->print_cr(" - adapter: " INTPTR_FORMAT, m->adapter()); 241 st->print( " - adapters: ");
242 if (m->adapter() == NULL)
243 st->print_cr(INTPTR_FORMAT, m->adapter());
244 else
245 m->adapter()->print_adapter_on(st);
242 st->print_cr(" - compiled entry " INTPTR_FORMAT, m->from_compiled_entry()); 246 st->print_cr(" - compiled entry " INTPTR_FORMAT, m->from_compiled_entry());
243 st->print_cr(" - code size: %d", m->code_size()); 247 st->print_cr(" - code size: %d", m->code_size());
244 if (m->code_size() != 0) { 248 if (m->code_size() != 0) {
245 st->print_cr(" - code start: " INTPTR_FORMAT, m->code_base()); 249 st->print_cr(" - code start: " INTPTR_FORMAT, m->code_base());
246 st->print_cr(" - code end (excl): " INTPTR_FORMAT, m->code_base() + m->code_size()); 250 st->print_cr(" - code end (excl): " INTPTR_FORMAT, m->code_base() + m->code_size());
284 } 288 }
285 } 289 }
286 if (m->code() != NULL) { 290 if (m->code() != NULL) {
287 st->print (" - compiled code: "); 291 st->print (" - compiled code: ");
288 m->code()->print_value_on(st); 292 m->code()->print_value_on(st);
289 st->cr(); 293 }
290 } 294 if (m->is_native()) {
291 if (m->is_method_handle_invoke()) {
292 st->print_cr(" - invoke method type: " INTPTR_FORMAT, (address) m->method_handle_type());
293 // m is classified as native, but it does not have an interesting
294 // native_function or signature handler
295 } else if (m->is_native()) {
296 st->print_cr(" - native function: " INTPTR_FORMAT, m->native_function()); 295 st->print_cr(" - native function: " INTPTR_FORMAT, m->native_function());
297 st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler()); 296 st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler());
298 } 297 }
299 } 298 }
300 299

mercurial