6970683: improvements to hs_err output

Reviewed-by: kvn, jrose, dholmes, coleenp
This commit is contained in:
Tom Rodriguez 2010-10-21 11:55:10 -07:00
parent 8a75e5275a
commit 1571a4a56f
13 changed files with 383 additions and 389 deletions

View file

@ -914,3 +914,14 @@ void CodeCache::print() {
}
#endif // PRODUCT
void CodeCache::print_bounds(outputStream* st) {
st->print_cr("Code Cache [" INTPTR_FORMAT ", " INTPTR_FORMAT ", " INTPTR_FORMAT ")",
_heap->low_boundary(),
_heap->high(),
_heap->high_boundary());
st->print_cr(" total_blobs=" UINT32_FORMAT " nmethods=" UINT32_FORMAT
" adapters=" UINT32_FORMAT " free_code_cache=" SIZE_FORMAT,
CodeCache::nof_blobs(), CodeCache::nof_nmethods(),
CodeCache::nof_adapters(), CodeCache::unallocated_capacity());
}