Mercurial > hg > truffle
comparison src/share/vm/oops/methodKlass.cpp @ 710:e5b0439ef4ae
6655638: dynamic languages need method handles
Summary: initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never
author | jrose |
---|---|
date | Wed, 08 Apr 2009 10:56:49 -0700 |
parents | c89f86385056 |
children | 75596850f863 |
comparison
equal
deleted
inserted
replaced
709:1d037ecd7960 | 710:e5b0439ef4ae |
---|---|
296 if (m->code() != NULL) { | 296 if (m->code() != NULL) { |
297 st->print (" - compiled code: "); | 297 st->print (" - compiled code: "); |
298 m->code()->print_value_on(st); | 298 m->code()->print_value_on(st); |
299 st->cr(); | 299 st->cr(); |
300 } | 300 } |
301 if (m->is_native()) { | 301 if (m->is_method_handle_invoke()) { |
302 st->print_cr(" - invoke method type: " INTPTR_FORMAT, (address) m->method_handle_type()); | |
303 // m is classified as native, but it does not have an interesting | |
304 // native_function or signature handler | |
305 } else if (m->is_native()) { | |
302 st->print_cr(" - native function: " INTPTR_FORMAT, m->native_function()); | 306 st->print_cr(" - native function: " INTPTR_FORMAT, m->native_function()); |
303 st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler()); | 307 st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler()); |
304 } | 308 } |
305 } | 309 } |
306 | 310 |