src/share/vm/runtime/arguments.cpp

changeset 4828
aeb22fdaa14c
parent 4819
36376b540a98
parent 4824
7f16d1812865
child 4847
c0f9217203b2
child 4858
15c04fe93c18
equal deleted inserted replaced
4823:23f2d309e855 4828:aeb22fdaa14c
1168 // as needed. 1168 // as needed.
1169 if (UseParNewGC) { 1169 if (UseParNewGC) {
1170 set_parnew_gc_flags(); 1170 set_parnew_gc_flags();
1171 } 1171 }
1172 1172
1173 // MaxHeapSize is aligned down in collectorPolicy
1174 size_t max_heap = align_size_down(MaxHeapSize, 1173 size_t max_heap = align_size_down(MaxHeapSize,
1175 CardTableRS::ct_max_alignment_constraint()); 1174 CardTableRS::ct_max_alignment_constraint());
1176 1175
1177 // Now make adjustments for CMS 1176 // Now make adjustments for CMS
1178 intx tenuring_default = (intx)6; 1177 intx tenuring_default = (intx)6;
1206 // Too early to use gclog_or_tty 1205 // Too early to use gclog_or_tty
1207 tty->print_cr("CMS ergo set MaxNewSize: " SIZE_FORMAT, MaxNewSize); 1206 tty->print_cr("CMS ergo set MaxNewSize: " SIZE_FORMAT, MaxNewSize);
1208 } 1207 }
1209 1208
1210 // Code along this path potentially sets NewSize and OldSize 1209 // Code along this path potentially sets NewSize and OldSize
1211
1212 assert(max_heap >= InitialHeapSize, "Error");
1213 assert(max_heap >= NewSize, "Error");
1214
1215 if (PrintGCDetails && Verbose) { 1210 if (PrintGCDetails && Verbose) {
1216 // Too early to use gclog_or_tty 1211 // Too early to use gclog_or_tty
1217 tty->print_cr("CMS set min_heap_size: " SIZE_FORMAT 1212 tty->print_cr("CMS set min_heap_size: " SIZE_FORMAT
1218 " initial_heap_size: " SIZE_FORMAT 1213 " initial_heap_size: " SIZE_FORMAT
1219 " max_heap: " SIZE_FORMAT, 1214 " max_heap: " SIZE_FORMAT,

mercurial