hotspot/src/share/vm/code/codeCache.hpp
changeset 9124 f60dee480d49
parent 8921 14bfe81f2a9d
parent 9113 e53283b68ac7
child 13195 be27e1b6a4b9
equal deleted inserted replaced
9093:62b8e328f8c8 9124:f60dee480d49
   158   static address first_address();                // first address used for CodeBlobs
   158   static address first_address();                // first address used for CodeBlobs
   159   static address last_address();                 // last  address used for CodeBlobs
   159   static address last_address();                 // last  address used for CodeBlobs
   160   static size_t  capacity()                      { return _heap->capacity(); }
   160   static size_t  capacity()                      { return _heap->capacity(); }
   161   static size_t  max_capacity()                  { return _heap->max_capacity(); }
   161   static size_t  max_capacity()                  { return _heap->max_capacity(); }
   162   static size_t  unallocated_capacity()          { return _heap->unallocated_capacity(); }
   162   static size_t  unallocated_capacity()          { return _heap->unallocated_capacity(); }
   163   static size_t  largest_free_block()            { return _heap->largest_free_block(); }
   163   static size_t  largest_free_block();
   164   static bool    needs_flushing()                { return largest_free_block() < CodeCacheFlushingMinimumFreeSpace; }
   164   static bool    needs_flushing()                { return largest_free_block() < CodeCacheFlushingMinimumFreeSpace; }
   165 
   165 
   166   static bool needs_cache_clean()                { return _needs_cache_clean; }
   166   static bool needs_cache_clean()                { return _needs_cache_clean; }
   167   static void set_needs_cache_clean(bool v)      { _needs_cache_clean = v;    }
   167   static void set_needs_cache_clean(bool v)      { _needs_cache_clean = v;    }
   168   static void clear_inline_caches();             // clear all inline caches
   168   static void clear_inline_caches();             // clear all inline caches