265 } |
265 } |
266 |
266 |
267 double max_gc_time = (double) MaxGCPauseMillis / 1000.0; |
267 double max_gc_time = (double) MaxGCPauseMillis / 1000.0; |
268 double time_slice = (double) GCPauseIntervalMillis / 1000.0; |
268 double time_slice = (double) GCPauseIntervalMillis / 1000.0; |
269 _mmu_tracker = new G1MMUTrackerQueue(time_slice, max_gc_time); |
269 _mmu_tracker = new G1MMUTrackerQueue(time_slice, max_gc_time); |
270 _sigma = (double) G1ConfidencePercent / 100.0; |
270 |
|
271 uintx confidence_perc = G1ConfidencePercent; |
|
272 // Put an artificial ceiling on this so that it's not set to a silly value. |
|
273 if (confidence_perc > 100) { |
|
274 confidence_perc = 100; |
|
275 warning("G1ConfidencePercent is set to a value that is too large, " |
|
276 "it's been updated to %u", confidence_perc); |
|
277 } |
|
278 _sigma = (double) confidence_perc / 100.0; |
271 |
279 |
272 // start conservatively (around 50ms is about right) |
280 // start conservatively (around 50ms is about right) |
273 _concurrent_mark_remark_times_ms->add(0.05); |
281 _concurrent_mark_remark_times_ms->add(0.05); |
274 _concurrent_mark_cleanup_times_ms->add(0.20); |
282 _concurrent_mark_cleanup_times_ms->add(0.20); |
275 _tenuring_threshold = MaxTenuringThreshold; |
283 _tenuring_threshold = MaxTenuringThreshold; |