comparison src/share/vm/classfile/systemDictionary.hpp @ 1602:136b78722a08

6939203: JSR 292 needs method handle constants Summary: Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode. Reviewed-by: twisti, never
author jrose
date Wed, 09 Jun 2010 18:50:45 -0700
parents c18cbe5936b8
children 083fde3b838e
comparison
equal deleted inserted replaced
1585:49fac4acd688 1602:136b78722a08
471 // ask Java to compute a java.dyn.MethodType object for a given signature 471 // ask Java to compute a java.dyn.MethodType object for a given signature
472 static Handle find_method_handle_type(symbolHandle signature, 472 static Handle find_method_handle_type(symbolHandle signature,
473 KlassHandle accessing_klass, 473 KlassHandle accessing_klass,
474 bool& return_bcp_flag, 474 bool& return_bcp_flag,
475 TRAPS); 475 TRAPS);
476 // ask Java to compute a java.dyn.MethodHandle object for a given CP entry
477 static Handle link_method_handle_constant(KlassHandle caller,
478 int ref_kind, //e.g., JVM_REF_invokeVirtual
479 KlassHandle callee,
480 symbolHandle name,
481 symbolHandle signature,
482 TRAPS);
476 // ask Java to create a dynamic call site, while linking an invokedynamic op 483 // ask Java to create a dynamic call site, while linking an invokedynamic op
477 static Handle make_dynamic_call_site(Handle bootstrap_method, 484 static Handle make_dynamic_call_site(Handle bootstrap_method,
478 // Callee information: 485 // Callee information:
479 symbolHandle name, 486 symbolHandle name,
480 methodHandle signature_invoker, 487 methodHandle signature_invoker,