1.1 --- a/src/share/vm/code/codeCache.hpp Tue Dec 28 17:34:02 2010 -0800 1.2 +++ b/src/share/vm/code/codeCache.hpp Wed Dec 29 10:41:43 2010 -0800 1.3 @@ -158,6 +158,7 @@ 1.4 static size_t capacity() { return _heap->capacity(); } 1.5 static size_t max_capacity() { return _heap->max_capacity(); } 1.6 static size_t unallocated_capacity() { return _heap->unallocated_capacity(); } 1.7 + static size_t largest_free_block() { return _heap->largest_free_block(); } 1.8 static bool needs_flushing() { return unallocated_capacity() < CodeCacheFlushingMinimumFreeSpace; } 1.9 1.10 static bool needs_cache_clean() { return _needs_cache_clean; }