equal
deleted
inserted
replaced
1008 tty->print_cr("Polling page exception at " INTPTR_FORMAT, p2i(thread()->saved_exception_pc())); |
1008 tty->print_cr("Polling page exception at " INTPTR_FORMAT, p2i(thread()->saved_exception_pc())); |
1009 } |
1009 } |
1010 address real_return_addr = thread()->saved_exception_pc(); |
1010 address real_return_addr = thread()->saved_exception_pc(); |
1011 |
1011 |
1012 CodeBlob *cb = CodeCache::find_blob(real_return_addr); |
1012 CodeBlob *cb = CodeCache::find_blob(real_return_addr); |
1013 assert(cb != NULL && cb->is_nmethod(), "return address should be in nmethod"); |
1013 assert(cb != NULL && cb->is_compiled(), "return address should be in nmethod"); |
1014 nmethod* nm = (nmethod*)cb; |
1014 CompiledMethod* nm = (CompiledMethod*)cb; |
1015 |
1015 |
1016 // Find frame of caller |
1016 // Find frame of caller |
1017 frame stub_fr = thread()->last_frame(); |
1017 frame stub_fr = thread()->last_frame(); |
1018 CodeBlob* stub_cb = stub_fr.cb(); |
1018 CodeBlob* stub_cb = stub_fr.cb(); |
1019 assert(stub_cb->is_safepoint_stub(), "must be a safepoint stub"); |
1019 assert(stub_cb->is_safepoint_stub(), "must be a safepoint stub"); |