Lines Matching refs:pc
215 ExceptionCache::ExceptionCache(Handle exception, address pc, address handler) {
216 assert(pc != NULL, "Must be non null");
224 add_address_and_handler(pc,handler);
228 address ExceptionCache::match(Handle exception, address pc) {
229 assert(pc != NULL,"Must be non null");
232 return (test_address(pc));
289 static inline bool match_desc(PcDesc* pc, int pc_offset, bool approximate) {
292 return pc->pc_offset() == pc_offset;
294 return (pc-1)->pc_offset() < pc_offset && pc_offset <= pc->pc_offset();
404 address nmethod::handler_for_exception_and_pc(Handle exception, address pc) {
411 if ((ret_val = ec->match(exception,pc)) != NULL) {
420 void nmethod::add_handler_for_exception_and_pc(Handle exception, address pc, address handler) {
430 if (target_entry == NULL || !target_entry->add_address_and_handler(pc,handler)) {
431 target_entry = new ExceptionCache(exception,pc,handler);
653 // values something that will never match a pc like the nmethod vtable entry
734 // values something that will never match a pc like the nmethod vtable entry
1027 bool nmethod::is_at_poll_return(address pc) {
1028 RelocIterator iter(this, pc, pc+1);
1037 bool nmethod::is_at_poll_or_poll_return(address pc) {
1038 RelocIterator iter(this, pc, pc+1);
1084 ScopeDesc* nmethod::scope_desc_at(address pc) {
1085 PcDesc* pd = pc_desc_at(pc);
1861 SimpleScopeDesc ssd(this, fr.pc());
1959 // Finds a PcDesc with real-pc equal to "pc"
1960 PcDesc* nmethod::find_pc_desc_internal(address pc, bool approximate) {
1962 if ((pc < base_address) ||
1963 (pc - base_address) >= (ptrdiff_t) PcDesc::upper_offset_limit) {
1966 int pc_offset = (int) (pc - base_address);
2118 address nmethod::continuation_for_implicit_exception(address pc) {
2121 int exception_offset = pc - code_begin();
2129 CodeBlob* cb = CodeCache::find_blob(pc);
2131 tty->print_cr("implicit exception happened at " INTPTR_FORMAT, pc);
2157 nmethodLocker::nmethodLocker(address pc) {
2158 CodeBlob* cb = CodeCache::find_blob(pc);
2159 guarantee(cb != NULL && cb->is_nmethod(), "bad pc for a nmethod found");
2189 if (nm != NULL && nm->is_deopt_pc(fr->pc()))
2451 // Find the first pc desc for all scopes in the code and print it.
2509 tty->print_cr("pc-bytecode offsets:");
2677 address pc = base + om->offset();
2678 if (pc > begin) {
2679 if (pc <= end) {
2689 // Print any debug info present at this pc.