< prev index next >

src/hotspot/share/runtime/sharedRuntime.cpp

Print this page

        

*** 1916,1926 **** // We are calling the interpreter via a c2i. Normally this would mean that // we were called by a compiled method. However we could have lost a race // where we went int -> i2c -> c2i and so the caller could in fact be // interpreted. If the caller is compiled we attempt to patch the caller // so he no longer calls into the interpreter. ! JRT_LEAF(void, SharedRuntime::fixup_callers_callsite(Method* method, address caller_pc)) Method* moop(method); address entry_point = moop->from_compiled_entry_no_trampoline(); // It's possible that deoptimization can occur at a call site which hasn't --- 1916,1926 ---- // We are calling the interpreter via a c2i. Normally this would mean that // we were called by a compiled method. However we could have lost a race // where we went int -> i2c -> c2i and so the caller could in fact be // interpreted. If the caller is compiled we attempt to patch the caller // so he no longer calls into the interpreter. ! IRT_LEAF(void, SharedRuntime::fixup_callers_callsite(Method* method, address caller_pc)) Method* moop(method); address entry_point = moop->from_compiled_entry_no_trampoline(); // It's possible that deoptimization can occur at a call site which hasn't
*** 1985,1995 **** if (should_fixup_call_destination(destination, entry_point, caller_pc, moop, cb)) { call->set_destination_mt_safe(entry_point); } } } ! JRT_END // same as JVM_Arraycopy, but called directly from compiled code JRT_ENTRY(void, SharedRuntime::slow_arraycopy_C(oopDesc* src, jint src_pos, oopDesc* dest, jint dest_pos, --- 1985,1995 ---- if (should_fixup_call_destination(destination, entry_point, caller_pc, moop, cb)) { call->set_destination_mt_safe(entry_point); } } } ! IRT_END // same as JVM_Arraycopy, but called directly from compiled code JRT_ENTRY(void, SharedRuntime::slow_arraycopy_C(oopDesc* src, jint src_pos, oopDesc* dest, jint dest_pos,
< prev index next >