Mon, 16 Jul 2012 14:05:34 -0400
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
src/share/vm/services/memTracker.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/services/memTracker.cpp Wed Jul 04 15:55:45 2012 -0400 1.2 +++ b/src/share/vm/services/memTracker.cpp Mon Jul 16 14:05:34 2012 -0400 1.3 @@ -351,12 +351,6 @@ 1.4 } 1.5 1.6 if (thread != NULL) { 1.7 -#ifdef ASSERT 1.8 - // cause assertion on stack base. This ensures that threads call 1.9 - // Thread::record_stack_base_and_size() method, which will create 1.10 - // thread native stack records. 1.11 - thread->stack_base(); 1.12 -#endif 1.13 // for a JavaThread, if it is running in native state, we need to transition it to 1.14 // VM state, so it can stop at safepoint. JavaThread running in VM state does not 1.15 // need lock to write records.