src/share/vm/oops/methodKlass.cpp

changeset 1145
e5b0439ef4ae
parent 1100
c89f86385056
child 1291
75596850f863
     1.1 --- a/src/share/vm/oops/methodKlass.cpp	Wed Apr 08 00:12:59 2009 -0700
     1.2 +++ b/src/share/vm/oops/methodKlass.cpp	Wed Apr 08 10:56:49 2009 -0700
     1.3 @@ -298,7 +298,11 @@
     1.4      m->code()->print_value_on(st);
     1.5      st->cr();
     1.6    }
     1.7 -  if (m->is_native()) {
     1.8 +  if (m->is_method_handle_invoke()) {
     1.9 +    st->print_cr(" - invoke method type: " INTPTR_FORMAT, (address) m->method_handle_type());
    1.10 +    // m is classified as native, but it does not have an interesting
    1.11 +    // native_function or signature handler
    1.12 +  } else if (m->is_native()) {
    1.13      st->print_cr(" - native function:   " INTPTR_FORMAT, m->native_function());
    1.14      st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler());
    1.15    }

mercurial