7181989: NMT ON: Assertion failure when NMT checks thread's native stack base address
authorzgu
Mon, 16 Jul 2012 14:05:34 -0400
changeset 13303 e4a0757b3ad7
parent 13199 025b0984feea
child 13304 f97566d01de4
7181989: NMT ON: Assertion failure when NMT checks thread's native stack base address Summary: Assertion on stack base is not necessary Reviewed-by: coleenp, dholmes, kvn
hotspot/src/share/vm/services/memTracker.cpp
--- a/hotspot/src/share/vm/services/memTracker.cpp	Wed Jul 04 15:55:45 2012 -0400
+++ b/hotspot/src/share/vm/services/memTracker.cpp	Mon Jul 16 14:05:34 2012 -0400
@@ -351,12 +351,6 @@
     }
 
     if (thread != NULL) {
-#ifdef ASSERT
-      // cause assertion on stack base. This ensures that threads call
-      // Thread::record_stack_base_and_size() method, which will create
-      // thread native stack records.
-      thread->stack_base();
-#endif
       // for a JavaThread, if it is running in native state, we need to transition it to
       // VM state, so it can stop at safepoint. JavaThread running in VM state does not
       // need lock to write records.