Lines Matching refs:nm

485   nmethod* nm = (blob != NULL) ? blob->as_nmethod_or_null() : NULL;
486 if (nm != NULL) {
488 thread->set_is_method_handle_return(nm->is_method_handle_return(return_address));
490 assert(!nm->is_native_method(), "no exception handler");
491 assert(nm->header_begin() != nm->exception_begin(), "no exception handler");
492 if (nm->is_deopt_pc(return_address)) {
495 return nm->exception_begin();
627 address SharedRuntime::compute_compiled_exc_handler(nmethod* nm, address ret_pc, Handle& exception,
629 assert(nm != NULL, "must exist");
632 ScopeDesc* sd = nm->scope_desc_at(ret_pc);
677 int catch_pco = ret_pc - nm->code_begin();
679 ExceptionHandlerTable table(nm);
681 if (t == NULL && (nm->is_compiled_by_c1() || handler_bci != -1)) {
692 if (t == NULL && nm->is_compiled_by_c1()) {
693 assert(nm->unwind_handler_begin() != NULL, "");
694 return nm->unwind_handler_begin();
705 nm->print_code();
710 return nm->code_begin() + t->pco();
821 nmethod* nm = (nmethod*)cb;
822 if (nm->inlinecache_check_contains(pc)) {
831 if (nm->method()->is_method_handle_intrinsic()) {
840 target_pc = nm->continuation_for_implicit_exception(pc);
851 nmethod* nm = CodeCache::find_nmethod(pc);
852 guarantee(nm != NULL, "must have containing nmethod for implicit division-by-zero exceptions");
856 target_pc = nm->continuation_for_implicit_exception(pc);
1687 nmethod* nm = cb->as_nmethod_or_null();
1688 assert(nm, "must be");
1704 if (nm->is_in_use()) {
1720 RelocIterator iter(nm, call->instruction_address(), call->next_instruction_address());
1950 static void add_method_to_histogram(nmethod* nm) {
1951 methodOop m = nm->method();
1957 int count = nm->method()->compiled_invocation_count();
2566 nmethod* nm = NULL;
2576 nm = method->code();
2577 if (nm) {
2578 return nm;
2614 nm = SharedRuntime::generate_native_wrapper(&_masm,
2626 if (nm != NULL) {
2629 CompileTask::print_compilation(tty, nm, method->is_static() ? "(static)" : "");
2631 method->set_code(method, nm);
2632 nm->post_compiled_method_load_event();
2637 return nm;
2663 nmethod* nm = NULL;
2680 nm = method->code();
2681 if (nm) {
2682 return nm;
2697 nm = SharedRuntime::generate_dtrace_nmethod(&_masm, method);
2700 return nm;