--- a/hotspot/src/share/vm/code/codeCache.hpp Wed Jul 05 17:40:55 2017 +0200
+++ b/hotspot/src/share/vm/code/codeCache.hpp Sat Apr 09 21:16:12 2011 -0700
@@ -160,7 +160,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 size_t largest_free_block();
static bool needs_flushing() { return largest_free_block() < CodeCacheFlushingMinimumFreeSpace; }
static bool needs_cache_clean() { return _needs_cache_clean; }