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
--- 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.