Mercurial > hg > graal-compiler
comparison src/share/vm/code/codeCache.hpp @ 10319:91eba9f82325
8012371: Adjust Tiered compile threshold according to available space in code cache
Summary: Added command line parameter to define a threshold at which C1 compilation threshold for is increased.
Reviewed-by: kvn, iveresov
author | anoll |
---|---|
date | Thu, 16 May 2013 15:46:49 +0200 |
parents | 0cfa93c2fcc4 |
children | f2110083203d |
comparison
equal
deleted
inserted
replaced
10298:7ec426e29e4c | 10319:91eba9f82325 |
---|---|
161 static address last_address(); // last address used for CodeBlobs | 161 static address last_address(); // last address used for CodeBlobs |
162 static size_t capacity() { return _heap->capacity(); } | 162 static size_t capacity() { return _heap->capacity(); } |
163 static size_t max_capacity() { return _heap->max_capacity(); } | 163 static size_t max_capacity() { return _heap->max_capacity(); } |
164 static size_t unallocated_capacity() { return _heap->unallocated_capacity(); } | 164 static size_t unallocated_capacity() { return _heap->unallocated_capacity(); } |
165 static bool needs_flushing() { return unallocated_capacity() < CodeCacheFlushingMinimumFreeSpace; } | 165 static bool needs_flushing() { return unallocated_capacity() < CodeCacheFlushingMinimumFreeSpace; } |
166 static double reverse_free_ratio(); | |
166 | 167 |
167 static bool needs_cache_clean() { return _needs_cache_clean; } | 168 static bool needs_cache_clean() { return _needs_cache_clean; } |
168 static void set_needs_cache_clean(bool v) { _needs_cache_clean = v; } | 169 static void set_needs_cache_clean(bool v) { _needs_cache_clean = v; } |
169 static void clear_inline_caches(); // clear all inline caches | 170 static void clear_inline_caches(); // clear all inline caches |
170 | 171 |