Mercurial > hg > truffle
comparison src/share/vm/code/codeCache.cpp @ 14505:524b54a7f1b5
8034839: jvm hangs with gc/gctests/LoadUnloadGC test
Summary: Provide fast lookup of checked dependencies via hashmap
Reviewed-by: kvn, roland
author | anoll |
---|---|
date | Wed, 26 Feb 2014 11:29:47 +0100 |
parents | 3aaa4b9966f6 |
children | d8041d695d19 480b0109db65 |
comparison
equal
deleted
inserted
replaced
14461:a13badbb8b8e | 14505:524b54a7f1b5 |
---|---|
593 FOR_ALL_ALIVE_NMETHODS(nm) { | 593 FOR_ALL_ALIVE_NMETHODS(nm) { |
594 nm->clear_inline_caches(); | 594 nm->clear_inline_caches(); |
595 } | 595 } |
596 } | 596 } |
597 | 597 |
598 #ifndef PRODUCT | |
599 // Keeps track of time spent for checking dependencies | 598 // Keeps track of time spent for checking dependencies |
600 static elapsedTimer dependentCheckTime; | 599 NOT_PRODUCT(static elapsedTimer dependentCheckTime;) |
601 #endif | |
602 | |
603 | 600 |
604 int CodeCache::mark_for_deoptimization(DepChange& changes) { | 601 int CodeCache::mark_for_deoptimization(DepChange& changes) { |
605 MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); | 602 MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); |
606 int number_of_marked_CodeBlobs = 0; | 603 int number_of_marked_CodeBlobs = 0; |
607 | 604 |