< prev index next >

src/hotspot/share/aot/aotCodeHeap.cpp

Print this page
rev 54621 : imported patch 8221734-v1

@@ -729,12 +729,11 @@
         }
       }
     }
   }
   if (marked > 0) {
-    VM_Deoptimize op;
-    VMThread::execute(&op);
+    Deoptimization::deoptimize_all_marked();
   }
 }
 
 void AOTCodeHeap::sweep_dependent_methods(AOTKlassData* klass_data) {
   // Make dependent methods non_entrant forever.
< prev index next >