hotspot/src/share/vm/code/codeCache.hpp
changeset 17617 4e330bce1812
parent 17132 dffd513b2a8c
child 18025 b7bcf7497f93
equal deleted inserted replaced
17596:cc309911da72 17617:4e330bce1812
   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