提交 15d8fe7e 编写于 作者: Z zgu

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
上级 f033456c
......@@ -351,12 +351,6 @@ void MemTracker::create_memory_record(address addr, MEMFLAGS flags,
}
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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册