diff 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
line wrap: on
line diff
--- a/src/share/vm/code/codeCache.hpp	Fri May 17 09:10:04 2013 -0700
+++ b/src/share/vm/code/codeCache.hpp	Thu May 16 15:46:49 2013 +0200
@@ -163,6 +163,7 @@
   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;    }