Lines Matching refs:nmethod
386 static nmethod* counter_overflow_helper(JavaThread* THREAD, int branch_bci, methodOopDesc* m) {
387 nmethod* osr_nm = NULL;
392 nmethod* nm = (nmethod*) fr.cb();
427 nmethod* osr_nm;
444 // method to see if the nmethod that we have just looked up a handler for has
453 // check to see if the handler we are going to return is now in a nmethod that has
457 JRT_ENTRY_NO_ASYNC(static address, exception_handler_for_pc_helper(JavaThread* thread, oopDesc* ex, address pc, nmethod*& nm))
463 assert(nm != NULL, "this is not an nmethod");
501 // We don't really want to deoptimize the nmethod itself since we
575 // We do it in a helper. This is so we can check to see if the nmethod we have just
582 nmethod* nm = NULL;
591 // Now check to see if the nmethod we were called from is now deoptimized.
592 // If so we must return to the deopt blob and deoptimize the nmethod
765 // executed before it's copied back into the main body of the nmethod.
787 // the patch body back into the main part of the nmethod and resume
831 // isn't correct for a volatile reference. The nmethod has to be
902 // It's possible the nmethod was invalidated in the last
904 nmethod* nm = CodeCache::find_nmethod(caller_frame.pc());
914 // If we are patching in a non-perm oop, make sure the nmethod
918 nmethod* nm = CodeCache::find_nmethod(caller_frame.pc());
959 nmethod* caller_code = CodeCache::find_nmethod(caller_frame.pc());
960 assert(caller_code != NULL, "nmethod not found");
972 // depending on the code below, do_patch says whether to copy the patch body back into the nmethod
1008 // Update the oop location in the nmethod with the proper
1014 nmethod* nm = CodeCache::find_nmethod(instr_pc);
1039 nmethod* nm = CodeCache::find_nmethod(instr_pc);
1068 nmethod* nm = CodeCache::find_nmethod(instr_pc);
1102 // Entry point for compiled code. We want to patch a nmethod.
1105 // if the calling nmethod was deoptimized. We do this by calling a
1130 // Entry point for compiled code. We want to patch a nmethod.
1133 // if the calling nmethod was deoptimized. We do this by calling a