< prev index next >

src/share/vm/memory/allocation.cpp

Print this page

        

@@ -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() {
< prev index next >