1.1 --- a/src/share/vm/runtime/sweeper.cpp Sun Mar 06 22:09:23 2011 -0800 1.2 +++ b/src/share/vm/runtime/sweeper.cpp Wed Mar 09 09:15:16 2011 -0800 1.3 @@ -426,9 +426,7 @@ 1.4 tty->vprint(format, ap); 1.5 va_end(ap); 1.6 } 1.7 - tty->print_cr(" total_blobs='" UINT32_FORMAT "' nmethods='" UINT32_FORMAT "'" 1.8 - " adapters='" UINT32_FORMAT "' free_code_cache='" SIZE_FORMAT "'", 1.9 - CodeCache::nof_blobs(), CodeCache::nof_nmethods(), CodeCache::nof_adapters(), CodeCache::unallocated_capacity()); 1.10 + CodeCache::log_state(tty); tty->cr(); 1.11 } 1.12 1.13 if (LogCompilation && (xtty != NULL)) { 1.14 @@ -440,9 +438,7 @@ 1.15 xtty->vprint(format, ap); 1.16 va_end(ap); 1.17 } 1.18 - xtty->print(" total_blobs='" UINT32_FORMAT "' nmethods='" UINT32_FORMAT "'" 1.19 - " adapters='" UINT32_FORMAT "' free_code_cache='" SIZE_FORMAT "'", 1.20 - CodeCache::nof_blobs(), CodeCache::nof_nmethods(), CodeCache::nof_adapters(), CodeCache::unallocated_capacity()); 1.21 + CodeCache::log_state(xtty); 1.22 xtty->stamp(); 1.23 xtty->end_elem(); 1.24 }