提交 0a89140f 编写于 作者: S stefank

8064556: G1: ParallelGCThreads=0 may cause...

8064556: G1: ParallelGCThreads=0 may cause assert(!MetadataOnStackMark::has_buffer_for_thread(Thread::current())) failed: Should be empty
Reviewed-by: mgerdin, tschatzl
上级 913b86e8
......@@ -5228,7 +5228,9 @@ public:
}
void pre_work_verification() {
assert(!MetadataOnStackMark::has_buffer_for_thread(Thread::current()), "Should be empty");
// The VM Thread will have registered Metadata during the single-threaded phase of MetadataStackOnMark.
assert(Thread::current()->is_VM_thread()
|| !MetadataOnStackMark::has_buffer_for_thread(Thread::current()), "Should be empty");
}
void post_work_verification() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册