@@ -788,11 +788,11 @@ } ReallocMark::ReallocMark() { #ifdef ASSERT - Thread *thread = ThreadLocalStorage::get_thread_slow(); + Thread *thread = Thread::current(); _nesting = thread->resource_area()->nesting(); #endif } void ReallocMark::check() {