src/share/vm/runtime/sweeper.cpp

Print this page

        

@@ -649,5 +649,13 @@
     xtty->print(s.as_string());
     xtty->stamp();
     xtty->end_elem();
   }
 }
+
+void NMethodSweeper::print() {
+  ttyLocker ttyl;
+  tty->print_cr("Method flushing statistics:");
+  tty->print_cr("  Total sweep time: " INT64_FORMAT, _total_time_sweeping);
+  tty->print_cr("  Peak sweep time: " INT64_FORMAT, _peak_sweep_time);
+  tty->print_cr("  Peak sweep fraction time: " INT64_FORMAT, _peak_sweep_fraction_time);
+}