diff src/share/vm/code/nmethod.hpp @ 14262:3aaa4b9966f6

7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times Summary: Avoid verifying dependencies multiple times by caching verified dependencies Reviewed-by: kvn, twisti, roland
author anoll
date Wed, 15 Jan 2014 06:16:55 +0100
parents 22ae97935e05
children d8041d695d19
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.hpp	Tue Jan 14 14:51:47 2014 +0100
+++ b/src/share/vm/code/nmethod.hpp	Wed Jan 15 06:16:55 2014 +0100
@@ -679,7 +679,7 @@
 
   // 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