src/share/vm/code/codeCache.cpp

changeset 2262
1e9a9d2e6509
parent 2103
3e8fbc61cee8
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/code/codeCache.cpp	Wed Oct 20 13:18:17 2010 -0700
     1.2 +++ b/src/share/vm/code/codeCache.cpp	Thu Oct 21 11:55:10 2010 -0700
     1.3 @@ -914,3 +914,14 @@
     1.4  }
     1.5  
     1.6  #endif // PRODUCT
     1.7 +
     1.8 +void CodeCache::print_bounds(outputStream* st) {
     1.9 +  st->print_cr("Code Cache  [" INTPTR_FORMAT ", " INTPTR_FORMAT ", " INTPTR_FORMAT ")",
    1.10 +               _heap->low_boundary(),
    1.11 +               _heap->high(),
    1.12 +               _heap->high_boundary());
    1.13 +  st->print_cr(" total_blobs=" UINT32_FORMAT " nmethods=" UINT32_FORMAT
    1.14 +               " adapters=" UINT32_FORMAT " free_code_cache=" SIZE_FORMAT,
    1.15 +               CodeCache::nof_blobs(), CodeCache::nof_nmethods(),
    1.16 +               CodeCache::nof_adapters(), CodeCache::unallocated_capacity());
    1.17 +}

mercurial