hotspot/src/share/vm/gc/g1/g1Analytics.cpp
changeset 38249 51b1102fc197
parent 37134 9dd3975ca940
child 40328 a2851f5f1cf6
equal deleted inserted replaced
38248:ccb245cf1fa6 38249:51b1102fc197
   282   } else {
   282   } else {
   283     return bytes_to_copy * get_new_prediction(_cost_per_byte_ms_seq);
   283     return bytes_to_copy * get_new_prediction(_cost_per_byte_ms_seq);
   284   }
   284   }
   285 }
   285 }
   286 
   286 
       
   287 double G1Analytics::predict_cost_per_byte_ms() const {
       
   288   return get_new_prediction(_cost_per_byte_ms_seq);
       
   289 }
       
   290 
   287 double G1Analytics::predict_constant_other_time_ms() const {
   291 double G1Analytics::predict_constant_other_time_ms() const {
   288   return get_new_prediction(_constant_other_time_ms_seq);
   292   return get_new_prediction(_constant_other_time_ms_seq);
   289 }
   293 }
   290 
   294 
   291 double G1Analytics::predict_young_other_time_ms(size_t young_num) const {
   295 double G1Analytics::predict_young_other_time_ms(size_t young_num) const {
   324 }
   328 }
   325 
   329 
   326 void G1Analytics::report_concurrent_mark_cleanup_times_ms(double ms) {
   330 void G1Analytics::report_concurrent_mark_cleanup_times_ms(double ms) {
   327   _concurrent_mark_cleanup_times_ms->add(ms);
   331   _concurrent_mark_cleanup_times_ms->add(ms);
   328 }
   332 }
   329