7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times

Avoid verifying dependencies multiple times by caching verified dependencies

Reviewed-by: kvn, twisti, roland
This commit is contained in:
Albert Noll 2014-01-15 06:16:55 +01:00
parent b1c92a140b
commit 2f84f7d5fc
5 changed files with 148 additions and 44 deletions

View file

@ -679,7 +679,7 @@ public:
// tells if any of this method's dependencies have been invalidated
// (this is expensive!)
bool check_all_dependencies();
static void check_all_dependencies(DepChange& changes);
// tells if this compiled method is dependent on the given changes,
// and the changes have invalidated it