Mercurial > hg > truffle
diff src/share/vm/oops/constantPoolKlass.cpp @ 1660:083fde3b838e
6964498: JSR 292 invokedynamic sites need local bootstrap methods
Summary: Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs.
Reviewed-by: twisti
author | jrose |
---|---|
date | Thu, 15 Jul 2010 18:40:45 -0700 |
parents | 136b78722a08 |
children | 126ea7725993 9d7a8ab3736b |
line wrap: on
line diff
--- a/src/share/vm/oops/constantPoolKlass.cpp Thu Jul 15 08:54:48 2010 -0700 +++ b/src/share/vm/oops/constantPoolKlass.cpp Thu Jul 15 18:40:45 2010 -0700 @@ -379,6 +379,10 @@ case JVM_CONSTANT_MethodType : st->print("signature_index=%d", cp->method_type_index_at(index)); break; + case JVM_CONSTANT_InvokeDynamic : + st->print("bootstrap_method_index=%d", cp->invoke_dynamic_bootstrap_method_ref_index_at(index)); + st->print(" name_and_type_index=%d", cp->invoke_dynamic_name_and_type_ref_index_at(index)); + break; default: ShouldNotReachHere(); break;