--- old/src/share/vm/memory/allocation.cpp 2015-11-27 02:27:19.859195367 -0500 +++ new/src/share/vm/memory/allocation.cpp 2015-11-27 02:27:18.547121571 -0500 @@ -790,7 +790,7 @@ ReallocMark::ReallocMark() { #ifdef ASSERT - Thread *thread = ThreadLocalStorage::get_thread_slow(); + Thread *thread = Thread::current(); _nesting = thread->resource_area()->nesting(); #endif }