Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 8824:7f16d1812865
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: tamao <tao.mao@oracle.com>
author | tamao |
---|---|
date | Wed, 20 Mar 2013 12:27:03 -0700 |
parents | 0631ebcc45f0 |
children | aeb22fdaa14c 754c24457b20 |
comparison
equal
deleted
inserted
replaced
8790:7f0cb32dd233 | 8824:7f16d1812865 |
---|---|
1167 // as needed. | 1167 // as needed. |
1168 if (UseParNewGC) { | 1168 if (UseParNewGC) { |
1169 set_parnew_gc_flags(); | 1169 set_parnew_gc_flags(); |
1170 } | 1170 } |
1171 | 1171 |
1172 // MaxHeapSize is aligned down in collectorPolicy | |
1173 size_t max_heap = align_size_down(MaxHeapSize, | 1172 size_t max_heap = align_size_down(MaxHeapSize, |
1174 CardTableRS::ct_max_alignment_constraint()); | 1173 CardTableRS::ct_max_alignment_constraint()); |
1175 | 1174 |
1176 // Now make adjustments for CMS | 1175 // Now make adjustments for CMS |
1177 intx tenuring_default = (intx)6; | 1176 intx tenuring_default = (intx)6; |
1205 // Too early to use gclog_or_tty | 1204 // Too early to use gclog_or_tty |
1206 tty->print_cr("CMS ergo set MaxNewSize: " SIZE_FORMAT, MaxNewSize); | 1205 tty->print_cr("CMS ergo set MaxNewSize: " SIZE_FORMAT, MaxNewSize); |
1207 } | 1206 } |
1208 | 1207 |
1209 // Code along this path potentially sets NewSize and OldSize | 1208 // Code along this path potentially sets NewSize and OldSize |
1210 | |
1211 assert(max_heap >= InitialHeapSize, "Error"); | |
1212 assert(max_heap >= NewSize, "Error"); | |
1213 | |
1214 if (PrintGCDetails && Verbose) { | 1209 if (PrintGCDetails && Verbose) { |
1215 // Too early to use gclog_or_tty | 1210 // Too early to use gclog_or_tty |
1216 tty->print_cr("CMS set min_heap_size: " SIZE_FORMAT | 1211 tty->print_cr("CMS set min_heap_size: " SIZE_FORMAT |
1217 " initial_heap_size: " SIZE_FORMAT | 1212 " initial_heap_size: " SIZE_FORMAT |
1218 " max_heap: " SIZE_FORMAT, | 1213 " max_heap: " SIZE_FORMAT, |