Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/code/codeCache.cpp Tue Dec 28 17:34:02 2010 -0800 +++ b/src/share/vm/code/codeCache.cpp Wed Dec 29 10:41:43 2010 -0800 @@ -939,7 +939,9 @@ _heap->high(), _heap->high_boundary()); st->print_cr(" total_blobs=" UINT32_FORMAT " nmethods=" UINT32_FORMAT - " adapters=" UINT32_FORMAT " free_code_cache=" SIZE_FORMAT, + " adapters=" UINT32_FORMAT " free_code_cache=" SIZE_FORMAT + " largest_free_block=" SIZE_FORMAT, CodeCache::nof_blobs(), CodeCache::nof_nmethods(), - CodeCache::nof_adapters(), CodeCache::unallocated_capacity()); + CodeCache::nof_adapters(), CodeCache::unallocated_capacity(), + CodeCache::largest_free_block()); }