changeset 3503:04a9b3789683

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
author zgu
date Mon, 16 Jul 2012 14:05:34 -0400
parents ace99a6ffc83
children 58a04a45a549
files src/share/vm/services/memTracker.cpp
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/services/memTracker.cpp	Wed Jul 04 15:55:45 2012 -0400
+++ b/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.