src/share/vm/code/codeCache.hpp

Print this page
rev 4616 : Fixes fill up of code cache: added command line parameter which defines a
threshold (percentage of used code cache) at which the threshold for
C1 recompilation is increased.

*** 161,170 **** --- 161,171 ---- static address last_address(); // last address used for CodeBlobs 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 bool needs_flushing() { return unallocated_capacity() < CodeCacheFlushingMinimumFreeSpace; } + static double reverse_free_ratio(); static bool needs_cache_clean() { return _needs_cache_clean; } static void set_needs_cache_clean(bool v) { _needs_cache_clean = v; } static void clear_inline_caches(); // clear all inline caches