< prev index next >

src/hotspot/share/runtime/sweeper.cpp

Print this page
rev 49285 : [mq]: 8198691.patch

*** 822,835 **** xtty->stamp(); xtty->end_elem(); } } ! void NMethodSweeper::print() { ! ttyLocker ttyl; ! tty->print_cr("Code cache sweeper statistics:"); ! tty->print_cr(" Total sweep time: %1.0lfms", (double)_total_time_sweeping.value()/1000000); ! tty->print_cr(" Total number of full sweeps: %ld", _total_nof_code_cache_sweeps); ! tty->print_cr(" Total number of flushed methods: %ld(%ld C2 methods)", _total_nof_methods_reclaimed, _total_nof_c2_methods_reclaimed); ! tty->print_cr(" Total size of flushed methods: " SIZE_FORMAT "kB", _total_flushed_size/K); } --- 822,835 ---- xtty->stamp(); xtty->end_elem(); } } ! void NMethodSweeper::print(outputStream* out) { ! out = (out == NULL) ? tty : out; ! out->print_cr("Code cache sweeper statistics:"); ! out->print_cr(" Total sweep time: %1.0lf ms", (double)_total_time_sweeping.value()/1000000); ! out->print_cr(" Total number of full sweeps: %ld", _total_nof_code_cache_sweeps); ! out->print_cr(" Total number of flushed methods: %ld (thereof %ld C2 methods)", _total_nof_methods_reclaimed, _total_nof_c2_methods_reclaimed); ! out->print_cr(" Total size of flushed methods: " SIZE_FORMAT " kB", _total_flushed_size/K); }
< prev index next >