equal
deleted
inserted
replaced
2607 // an active nmethod => use cpc to determine a return address |
2607 // an active nmethod => use cpc to determine a return address |
2608 int exception_offset = pc - code_begin(); |
2608 int exception_offset = pc - code_begin(); |
2609 int cont_offset = ImplicitExceptionTable(this).at( exception_offset ); |
2609 int cont_offset = ImplicitExceptionTable(this).at( exception_offset ); |
2610 #ifdef ASSERT |
2610 #ifdef ASSERT |
2611 if (cont_offset == 0) { |
2611 if (cont_offset == 0) { |
2612 Thread* thread = ThreadLocalStorage::get_thread_slow(); |
2612 Thread* thread = Thread::current(); |
2613 ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY |
2613 ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY |
2614 HandleMark hm(thread); |
2614 HandleMark hm(thread); |
2615 ResourceMark rm(thread); |
2615 ResourceMark rm(thread); |
2616 CodeBlob* cb = CodeCache::find_blob(pc); |
2616 CodeBlob* cb = CodeCache::find_blob(pc); |
2617 assert(cb != NULL && cb == this, ""); |
2617 assert(cb != NULL && cb == this, ""); |