Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
1649:a528509c992b | 1660:083fde3b838e |
---|---|
377 st->print(" ref_index=%d", cp->method_handle_index_at(index)); | 377 st->print(" ref_index=%d", cp->method_handle_index_at(index)); |
378 break; | 378 break; |
379 case JVM_CONSTANT_MethodType : | 379 case JVM_CONSTANT_MethodType : |
380 st->print("signature_index=%d", cp->method_type_index_at(index)); | 380 st->print("signature_index=%d", cp->method_type_index_at(index)); |
381 break; | 381 break; |
382 case JVM_CONSTANT_InvokeDynamic : | |
383 st->print("bootstrap_method_index=%d", cp->invoke_dynamic_bootstrap_method_ref_index_at(index)); | |
384 st->print(" name_and_type_index=%d", cp->invoke_dynamic_name_and_type_ref_index_at(index)); | |
385 break; | |
382 default: | 386 default: |
383 ShouldNotReachHere(); | 387 ShouldNotReachHere(); |
384 break; | 388 break; |
385 } | 389 } |
386 st->cr(); | 390 st->cr(); |