mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
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:
parent
683ea742f2
commit
aa570e227c
6 changed files with 212 additions and 67 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue