src/share/vm/prims/methodHandleWalk.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6914206 Cdiff src/share/vm/prims/methodHandleWalk.hpp

src/share/vm/prims/methodHandleWalk.hpp

Print this page

        

*** 402,407 **** --- 402,413 ---- public: MethodHandleCompiler(Handle root, methodHandle call_method, bool for_invokedynamic, TRAPS); // Compile the given MH chain into bytecode. methodHandle compile(TRAPS); + + // Tests if the given class is a MH adapter holder. + static bool klass_is_method_handle_adapter_holder(klassOop klass) { + return (klass == SystemDictionary::MethodHandle_klass() || + klass == SystemDictionary::InvokeDynamic_klass()); + } };
src/share/vm/prims/methodHandleWalk.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File