424 va_list ap; |
424 va_list ap; |
425 va_start(ap, format); |
425 va_start(ap, format); |
426 tty->vprint(format, ap); |
426 tty->vprint(format, ap); |
427 va_end(ap); |
427 va_end(ap); |
428 } |
428 } |
429 tty->print_cr(" total_blobs='" UINT32_FORMAT "' nmethods='" UINT32_FORMAT "'" |
429 CodeCache::log_state(tty); tty->cr(); |
430 " adapters='" UINT32_FORMAT "' free_code_cache='" SIZE_FORMAT "'", |
|
431 CodeCache::nof_blobs(), CodeCache::nof_nmethods(), CodeCache::nof_adapters(), CodeCache::unallocated_capacity()); |
|
432 } |
430 } |
433 |
431 |
434 if (LogCompilation && (xtty != NULL)) { |
432 if (LogCompilation && (xtty != NULL)) { |
435 ttyLocker ttyl; |
433 ttyLocker ttyl; |
436 xtty->begin_elem("sweeper state='%s' traversals='" INTX_FORMAT "' ", msg, (intx)traversal_count()); |
434 xtty->begin_elem("sweeper state='%s' traversals='" INTX_FORMAT "' ", msg, (intx)traversal_count()); |
438 va_list ap; |
436 va_list ap; |
439 va_start(ap, format); |
437 va_start(ap, format); |
440 xtty->vprint(format, ap); |
438 xtty->vprint(format, ap); |
441 va_end(ap); |
439 va_end(ap); |
442 } |
440 } |
443 xtty->print(" total_blobs='" UINT32_FORMAT "' nmethods='" UINT32_FORMAT "'" |
441 CodeCache::log_state(xtty); |
444 " adapters='" UINT32_FORMAT "' free_code_cache='" SIZE_FORMAT "'", |
|
445 CodeCache::nof_blobs(), CodeCache::nof_nmethods(), CodeCache::nof_adapters(), CodeCache::unallocated_capacity()); |
|
446 xtty->stamp(); |
442 xtty->stamp(); |
447 xtty->end_elem(); |
443 xtty->end_elem(); |
448 } |
444 } |
449 } |
445 } |