--- old/src/share/vm/code/nmethod.cpp 2015-11-27 02:26:54.721781539 -0500 +++ new/src/share/vm/code/nmethod.cpp 2015-11-27 02:26:53.413707968 -0500 @@ -2634,7 +2634,7 @@ int cont_offset = ImplicitExceptionTable(this).at( exception_offset ); #ifdef ASSERT if (cont_offset == 0) { - Thread* thread = ThreadLocalStorage::get_thread_slow(); + Thread* thread = Thread::current(); ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY HandleMark hm(thread); ResourceMark rm(thread);