src/share/vm/ci/ciMethodHandle.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7071307 Cdiff src/share/vm/ci/ciMethodHandle.cpp

src/share/vm/ci/ciMethodHandle.cpp

Print this page

        

*** 35,45 **** // ------------------------------------------------------------------ // ciMethodHandle::get_adapter // // Return an adapter for this MethodHandle. ! ciMethod* ciMethodHandle::get_adapter_impl(bool is_invokedynamic) const { VM_ENTRY_MARK; Handle h(get_oop()); methodHandle callee(_callee->get_methodOop()); assert(callee->is_method_handle_invoke(), ""); oop mt1 = callee->method_handle_type(); --- 35,45 ---- // ------------------------------------------------------------------ // ciMethodHandle::get_adapter // // Return an adapter for this MethodHandle. ! ciMethod* ciMethodHandle::get_adapter_impl(bool is_invokedynamic) { VM_ENTRY_MARK; Handle h(get_oop()); methodHandle callee(_callee->get_methodOop()); assert(callee->is_method_handle_invoke(), ""); oop mt1 = callee->method_handle_type();
*** 71,81 **** // ------------------------------------------------------------------ // ciMethodHandle::get_adapter // // Return an adapter for this MethodHandle. ! ciMethod* ciMethodHandle::get_adapter(bool is_invokedynamic) const { ciMethod* result = get_adapter_impl(is_invokedynamic); if (result) { // Fake up the MDO maturity. ciMethodData* mdo = result->method_data(); if (mdo != NULL && _caller->method_data() != NULL && _caller->method_data()->is_mature()) { --- 71,81 ---- // ------------------------------------------------------------------ // ciMethodHandle::get_adapter // // Return an adapter for this MethodHandle. ! ciMethod* ciMethodHandle::get_adapter(bool is_invokedynamic) { ciMethod* result = get_adapter_impl(is_invokedynamic); if (result) { // Fake up the MDO maturity. ciMethodData* mdo = result->method_data(); if (mdo != NULL && _caller->method_data() != NULL && _caller->method_data()->is_mature()) {
*** 84,96 **** } return result; } // ------------------------------------------------------------------ ! // ciMethodHandle::print_impl // // Implementation of the print method. ! void ciMethodHandle::print_impl(outputStream* st) { ! st->print(" type="); ! get_oop()->print(); } --- 84,107 ---- } return result; } + #ifndef PRODUCT // ------------------------------------------------------------------ ! // ciMethodHandle::print_chain_impl // // Implementation of the print method. ! void ciMethodHandle::print_chain_impl(outputStream* st) { ! ASSERT_IN_VM; ! MethodHandleChain::print(get_oop()); } + + + // ------------------------------------------------------------------ + // ciMethodHandle::print_chain + // + // Implementation of the print_chain method. + void ciMethodHandle::print_chain(outputStream* st) { + GUARDED_VM_ENTRY(print_chain_impl(st);); + } + #endif
src/share/vm/ci/ciMethodHandle.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File