src/hotspot/share/prims/methodHandles.hpp
changeset 48514 9608f7f41c4e
parent 48157 7c4d43c26352
child 49449 ef5d5d343e2a
equal deleted inserted replaced
48513:5b834ec96236 48514:9608f7f41c4e
    68   static oop init_method_MemberName(Handle mname_h, CallInfo& info);
    68   static oop init_method_MemberName(Handle mname_h, CallInfo& info);
    69   static int method_ref_kind(Method* m, bool do_dispatch_if_possible = true);
    69   static int method_ref_kind(Method* m, bool do_dispatch_if_possible = true);
    70   static int find_MemberNames(Klass* k, Symbol* name, Symbol* sig,
    70   static int find_MemberNames(Klass* k, Symbol* name, Symbol* sig,
    71                               int mflags, Klass* caller,
    71                               int mflags, Klass* caller,
    72                               int skip, objArrayHandle results, TRAPS);
    72                               int skip, objArrayHandle results, TRAPS);
       
    73   static Handle resolve_MemberName_type(Handle mname, Klass* caller, TRAPS);
       
    74 
    73   // bit values for suppress argument to expand_MemberName:
    75   // bit values for suppress argument to expand_MemberName:
    74   enum { _suppress_defc = 1, _suppress_name = 2, _suppress_type = 4 };
    76   enum { _suppress_defc = 1, _suppress_name = 2, _suppress_type = 4 };
    75 
    77 
    76   // CallSite support
    78   // CallSite support
    77   static void add_dependent_nmethod(oop call_site, nmethod* nm);
    79   static void add_dependent_nmethod(oop call_site, nmethod* nm);
   189   static bool ref_kind_does_dispatch(int ref_kind) {
   191   static bool ref_kind_does_dispatch(int ref_kind) {
   190     return (ref_kind == JVM_REF_invokeVirtual ||
   192     return (ref_kind == JVM_REF_invokeVirtual ||
   191             ref_kind == JVM_REF_invokeInterface);
   193             ref_kind == JVM_REF_invokeInterface);
   192   }
   194   }
   193 
   195 
       
   196   static int ref_kind_to_flags(int ref_kind);
       
   197 
   194 #include CPU_HEADER(methodHandles)
   198 #include CPU_HEADER(methodHandles)
   195 
   199 
   196   // Tracing
   200   // Tracing
   197   static void trace_method_handle(MacroAssembler* _masm, const char* adaptername) PRODUCT_RETURN;
   201   static void trace_method_handle(MacroAssembler* _masm, const char* adaptername) PRODUCT_RETURN;
   198   static void trace_method_handle_interpreter_entry(MacroAssembler* _masm, vmIntrinsics::ID iid);
   202   static void trace_method_handle_interpreter_entry(MacroAssembler* _masm, vmIntrinsics::ID iid);