equal
deleted
inserted
replaced
1313 // safepoint is possible and have trouble gc'ing the compiled args. |
1313 // safepoint is possible and have trouble gc'ing the compiled args. |
1314 RegisterMap reg_map(thread, false); |
1314 RegisterMap reg_map(thread, false); |
1315 frame stub_frame = thread->last_frame(); |
1315 frame stub_frame = thread->last_frame(); |
1316 assert(stub_frame.is_runtime_frame(), "sanity check"); |
1316 assert(stub_frame.is_runtime_frame(), "sanity check"); |
1317 frame caller_frame = stub_frame.sender(®_map); |
1317 frame caller_frame = stub_frame.sender(®_map); |
1318 |
|
1319 // MethodHandle invokes don't have a CompiledIC and should always |
|
1320 // simply redispatch to the callee_target. |
|
1321 address sender_pc = caller_frame.pc(); |
|
1322 CodeBlob* sender_cb = caller_frame.cb(); |
|
1323 nmethod* sender_nm = sender_cb->as_nmethod_or_null(); |
|
1324 |
1318 |
1325 if (caller_frame.is_interpreted_frame() || |
1319 if (caller_frame.is_interpreted_frame() || |
1326 caller_frame.is_entry_frame()) { |
1320 caller_frame.is_entry_frame()) { |
1327 Method* callee = thread->callee_target(); |
1321 Method* callee = thread->callee_target(); |
1328 guarantee(callee != NULL && callee->is_method(), "bad handshake"); |
1322 guarantee(callee != NULL && callee->is_method(), "bad handshake"); |