Lines Matching refs:pc
47 uint64_t new_pc; /* pc for the next frame */
113 uintptr_t pc;
123 uint64_t pc;
446 J->prev_fr.pc = 0;
855 /* Finds a PcDesc with real-pc equal to N->pc */
877 pc_diff = real_pc - N->pc;
1000 uint64_t pc,
1012 fprintf(stderr, "name_for_nmethod: BEGIN: nmethod: %#llx, pc: %#llx\n", nm, pc);
1021 N->pc = pc;
1027 fprintf(stderr, "name_for_nmethod: pc: %#llx, deopt_pc: %#llx\n",
1028 pc, N->nm + N->deopt_beg);
1032 if ( pc == N->nm + N->deopt_beg) {
1042 err = read_pointer(J, base, &N->pc);
1045 fprintf(stderr, "name_for_nmethod: found deoptimized frame converting pc from %#8llx to %#8llx\n",
1046 pc, N->pc);
1147 name_for_codecache(jvm_agent_t* J, uint64_t fp, uint64_t pc, char * result,
1157 err = find_start(J, pc, &start);
1170 fprintf(stderr, "name_for_codecache: start: %#8llx, pc: %#8llx, methodOop: %#8llx \n",
1171 start, pc, methodOop);
1173 err = name_for_nmethod(J, start, pc, methodOop, result, size, jframe);
1233 if ( (err != PS_OK || trial_pc != pc) && frame_size > 0 ) {
1234 // Either we couldn't even read at the "fp" or the pc didn't match
1237 // and the current pc in adjacent words. The we will be able to
1252 if (check == pc) {
1254 fprintf(stderr, "name_for_codecache: found matching fp/pc combo at 0x%llx\n", base - POINTER_SIZE);
1341 uintptr_t pc;
1362 pc = (uintptr_t) regs[R_PC];
1363 J->curr_fr.pc = pc;
1368 fprintf(stderr, "Jlookup_by_regs: BEGINs: fp=%#lx, pc=%#lx\n", regs[R_FP], pc);
1372 * In the pcDesc structure return pc offset is recorded for CALL instructions.
1373 * regs[R_PC] contains a CALL instruction pc offset.
1375 pc += 8;
1414 * If we call is_methodOop(J, methodOopPtr) before codecache_contains(J, pc)
1417 * So it is better to call codecache_contains(J, pc) from the beginning.
1430 if (codecache_contains(J, pc)) {
1431 result = name_for_codecache(J, fp, pc, name, size, jframe, &is_interpreted);
1463 printf("Jlookup_by_regs: (update pc) jframe->new_fp: %#llx, jframe->new_pc: %#llx\n",
1483 fprintf(stderr, "update_gregs: before update sp = 0x%llx, fp = 0x%llx, pc = 0x%llx\n", gregs[R_SP], gregs[R_FP], gregs[R_PC]);
1502 fprintf(stderr, "update_gregs: after update sp = 0x%llx, fp = 0x%llx, pc = 0x%llx\n", gregs[R_SP], gregs[R_FP], gregs[R_PC]);
1520 fprintf(stderr, "Jframe_iter: Entry sp = 0x%llx, fp = 0x%llx, pc = 0x%llx\n", gregs[R_SP], gregs[R_FP], gregs[R_PC]);