提交 73c894af 编写于 作者: T tamao

7196080: assert(max_heap >= InitialHeapSize) in arguments.cpp

Summary: Remove the related assertions becasue they do not hold here.
Reviewed-by: jmasa, tschatzl
Contributed-by: Ntamao <tao.mao@oracle.com>
上级 edcd3ebc
......@@ -1169,7 +1169,6 @@ void Arguments::set_cms_and_parnew_gc_flags() {
set_parnew_gc_flags();
}
// MaxHeapSize is aligned down in collectorPolicy
size_t max_heap = align_size_down(MaxHeapSize,
CardTableRS::ct_max_alignment_constraint());
......@@ -1207,10 +1206,6 @@ void Arguments::set_cms_and_parnew_gc_flags() {
}
// Code along this path potentially sets NewSize and OldSize
assert(max_heap >= InitialHeapSize, "Error");
assert(max_heap >= NewSize, "Error");
if (PrintGCDetails && Verbose) {
// Too early to use gclog_or_tty
tty->print_cr("CMS set min_heap_size: " SIZE_FORMAT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册