8034839: jvm hangs with gc/gctests/LoadUnloadGC test

Provide fast lookup of checked dependencies via hashmap

Reviewed-by: kvn, roland
This commit is contained in:
Albert Noll 2014-02-26 11:29:47 +01:00
parent 683ea742f2
commit aa570e227c
6 changed files with 212 additions and 67 deletions

View file

@ -595,11 +595,8 @@ void CodeCache::clear_inline_caches() {
}
}
#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);