mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6655638: dynamic languages need method handles
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.) Reviewed-by: kvn, twisti, never
This commit is contained in:
parent
318da3f68c
commit
ce0c084720
63 changed files with 5815 additions and 70 deletions
|
@ -298,7 +298,11 @@ void methodKlass::oop_print_on(oop obj, outputStream* st) {
|
|||
m->code()->print_value_on(st);
|
||||
st->cr();
|
||||
}
|
||||
if (m->is_native()) {
|
||||
if (m->is_method_handle_invoke()) {
|
||||
st->print_cr(" - invoke method type: " INTPTR_FORMAT, (address) m->method_handle_type());
|
||||
// m is classified as native, but it does not have an interesting
|
||||
// native_function or signature handler
|
||||
} else if (m->is_native()) {
|
||||
st->print_cr(" - native function: " INTPTR_FORMAT, m->native_function());
|
||||
st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue