hotspot/src/share/vm/code/nmethod.cpp
changeset 34633 2a6c7c7b30a7
parent 34185 ee71c590a456
child 35135 dd2ce9021031
child 35175 382588e9104a
equal deleted inserted replaced
34632:bf3518bba285 34633:2a6c7c7b30a7
  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, "");