--- old/src/share/vm/memory/allocation.cpp 2015-11-04 23:05:41.947071069 -0500 +++ new/src/share/vm/memory/allocation.cpp 2015-11-04 23:05:40.442986308 -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 }