--- old/src/share/vm/code/codeCache.cpp 2014-02-25 14:00:58.890651846 +0100 +++ new/src/share/vm/code/codeCache.cpp 2014-02-25 14:00:58.762651851 +0100 @@ -595,11 +595,8 @@ } } -#ifndef PRODUCT // Keeps track of time spent for checking dependencies -static elapsedTimer dependentCheckTime; -#endif - +NOT_PRODUCT(static elapsedTimer dependentCheckTime;) int CodeCache::mark_for_deoptimization(DepChange& changes) { MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);