--- old/src/share/vm/memory/allocation.cpp 2015-11-11 15:13:02.256916584 -0500 +++ new/src/share/vm/memory/allocation.cpp 2015-11-11 15:13:00.464815104 -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 }