comparison src/share/vm/code/codeCache.cpp @ 2091:51bd2d261853

7008325: CodeCache exhausted on sparc starting from hs20b04 Summary: remove clear_scratch_buffer_blob and let init_scratch_buffer_blob free and allocate a new blob if required. Reviewed-by: twisti
author kvn
date Wed, 29 Dec 2010 10:41:43 -0800
parents f95d63e2154a
children 1c0cf339481b
comparison
equal deleted inserted replaced
2090:2ddb2fab82cb 2091:51bd2d261853
937 st->print_cr("Code Cache [" INTPTR_FORMAT ", " INTPTR_FORMAT ", " INTPTR_FORMAT ")", 937 st->print_cr("Code Cache [" INTPTR_FORMAT ", " INTPTR_FORMAT ", " INTPTR_FORMAT ")",
938 _heap->low_boundary(), 938 _heap->low_boundary(),
939 _heap->high(), 939 _heap->high(),
940 _heap->high_boundary()); 940 _heap->high_boundary());
941 st->print_cr(" total_blobs=" UINT32_FORMAT " nmethods=" UINT32_FORMAT 941 st->print_cr(" total_blobs=" UINT32_FORMAT " nmethods=" UINT32_FORMAT
942 " adapters=" UINT32_FORMAT " free_code_cache=" SIZE_FORMAT, 942 " adapters=" UINT32_FORMAT " free_code_cache=" SIZE_FORMAT
943 " largest_free_block=" SIZE_FORMAT,
943 CodeCache::nof_blobs(), CodeCache::nof_nmethods(), 944 CodeCache::nof_blobs(), CodeCache::nof_nmethods(),
944 CodeCache::nof_adapters(), CodeCache::unallocated_capacity()); 945 CodeCache::nof_adapters(), CodeCache::unallocated_capacity(),
945 } 946 CodeCache::largest_free_block());
947 }