Print this page
8236073: G1: Use SoftMaxHeapSize to guide GC heuristics

@@ -159,10 +159,11 @@
   _cur_resize_tlab_time_ms = 0.0;
   _cur_derived_pointer_table_update_time_ms = 0.0;
   _cur_clear_ct_time_ms = 0.0;
   _cur_expand_heap_time_ms = 0.0;
   _cur_ref_proc_time_ms = 0.0;
+  _cur_adjust_heap_time_ms = 0.0;
   _cur_collection_start_sec = 0.0;
   _root_region_scan_wait_time_ms = 0.0;
   _external_accounted_time_ms = 0.0;
   _recorded_prepare_heap_roots_time_ms = 0.0;
   _recorded_clear_claimed_marks_time_ms = 0.0;

@@ -517,11 +518,11 @@
   debug_time("Start New Collection Set", _recorded_start_new_cset_time_ms);
   if (UseTLAB && ResizeTLAB) {
     debug_time("Resize TLABs", _cur_resize_tlab_time_ms);
   }
   debug_time("Expand Heap After Collection", _cur_expand_heap_time_ms);
-
+  debug_time("Adjust Heap Size", _cur_adjust_heap_time_ms);
 
   return sum_ms;
 }
 
 void G1GCPhaseTimes::print_other(double accounted_ms) const {