--- old/src/share/vm/code/codeCache.cpp 2014-02-26 07:50:02.225636095 +0100 +++ new/src/share/vm/code/codeCache.cpp 2014-02-26 07:50:02.021636099 +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);