# HG changeset patch # User zgu # Date 1342461934 14400 # Node ID 04a9b3789683264847f9f4cb7a20765c53c2b3bf # Parent ace99a6ffc834542dc736839ea8f0d67e93fa3ad 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 diff -r ace99a6ffc83 -r 04a9b3789683 src/share/vm/services/memTracker.cpp --- 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.