1.1 --- a/src/share/vm/code/codeCache.hpp Tue Oct 01 11:06:35 2013 -0400 1.2 +++ b/src/share/vm/code/codeCache.hpp Thu Oct 03 16:38:21 2013 +0400 1.3 @@ -57,7 +57,6 @@ 1.4 static int _number_of_nmethods_with_dependencies; 1.5 static bool _needs_cache_clean; 1.6 static nmethod* _scavenge_root_nmethods; // linked via nm->scavenge_root_link() 1.7 - static nmethod* _saved_nmethods; // Linked list of speculatively disconnected nmethods. 1.8 1.9 static void verify_if_often() PRODUCT_RETURN; 1.10 1.11 @@ -167,17 +166,12 @@ 1.12 static size_t capacity() { return _heap->capacity(); } 1.13 static size_t max_capacity() { return _heap->max_capacity(); } 1.14 static size_t unallocated_capacity() { return _heap->unallocated_capacity(); } 1.15 - static bool needs_flushing() { return unallocated_capacity() < CodeCacheFlushingMinimumFreeSpace; } 1.16 static double reverse_free_ratio(); 1.17 1.18 static bool needs_cache_clean() { return _needs_cache_clean; } 1.19 static void set_needs_cache_clean(bool v) { _needs_cache_clean = v; } 1.20 static void clear_inline_caches(); // clear all inline caches 1.21 1.22 - static nmethod* reanimate_saved_code(Method* m); 1.23 - static void remove_saved_code(nmethod* nm); 1.24 - static void speculatively_disconnect(nmethod* nm); 1.25 - 1.26 // Deoptimization 1.27 static int mark_for_deoptimization(DepChange& changes); 1.28 #ifdef HOTSWAP