提交 430d7e58 编写于 作者: D dlong

7130319: C2: running with -XX:+PrintOptoAssembly crashes the VM with...

7130319: C2: running with -XX:+PrintOptoAssembly crashes the VM with assert(false) failed: bad tag in log
Summary: Relax assert to allow the VMThread to close the log while the compiler thread is still writing to it.
Reviewed-by: dholmes, never
Contributed-by: dean.long@oracle.com
上级 90a7dcec
......@@ -192,8 +192,11 @@ void xmlStream::pop_tag(const char* tag) {
_element_close_stack_ptr = cur_tag + strlen(cur_tag) + 1;
_element_depth -= 1;
}
if (bad_tag && !VMThread::should_terminate() && !is_error_reported())
if (bad_tag && !VMThread::should_terminate() && !VM_Exit::vm_exited() &&
!is_error_reported())
{
assert(false, "bad tag in log");
}
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册