src/hotspot/share/aot/aotCompiledMethod.cpp
changeset 51731 8745f8f1b0f8
parent 51473 871581ff5ce5
child 52385 5c679ec60888
equal deleted inserted replaced
51730:cd0775f67ab0 51731:8745f8f1b0f8
   240   }
   240   }
   241 
   241 
   242   return true;
   242   return true;
   243 }
   243 }
   244 #endif // TIERED
   244 #endif // TIERED
   245 
       
   246 // We don't have full dependencies for AOT methods, so flushing is
       
   247 // more conservative than for nmethods.
       
   248 void AOTCompiledMethod::flush_evol_dependents_on(InstanceKlass* dependee) {
       
   249   if (is_java_method()) {
       
   250     clear_inline_caches();
       
   251     mark_for_deoptimization();
       
   252     make_not_entrant();
       
   253   }
       
   254 }
       
   255 
   245 
   256 // Iterate over metadata calling this function.   Used by RedefineClasses
   246 // Iterate over metadata calling this function.   Used by RedefineClasses
   257 // Copied from nmethod::metadata_do
   247 // Copied from nmethod::metadata_do
   258 void AOTCompiledMethod::metadata_do(void f(Metadata*)) {
   248 void AOTCompiledMethod::metadata_do(void f(Metadata*)) {
   259   address low_boundary = verified_entry_point();
   249   address low_boundary = verified_entry_point();