diff -r 2ddb2fab82cb -r 51bd2d261853 src/share/vm/code/codeCache.hpp --- a/src/share/vm/code/codeCache.hpp Tue Dec 28 17:34:02 2010 -0800 +++ b/src/share/vm/code/codeCache.hpp Wed Dec 29 10:41:43 2010 -0800 @@ -158,6 +158,7 @@ static size_t capacity() { return _heap->capacity(); } static size_t max_capacity() { return _heap->max_capacity(); } static size_t unallocated_capacity() { return _heap->unallocated_capacity(); } + static size_t largest_free_block() { return _heap->largest_free_block(); } static bool needs_flushing() { return unallocated_capacity() < CodeCacheFlushingMinimumFreeSpace; } static bool needs_cache_clean() { return _needs_cache_clean; }