src/share/vm/memory/universe.cpp

Print this page

        

@@ -1254,12 +1254,12 @@
     DeoptimizationMarker dm;
 
     // Deoptimize all activations depending on marked nmethods
     Deoptimization::deoptimize_dependents();
 
-    // Make the dependent methods not entrant (in VM_Deoptimize they are made zombies)
-    CodeCache::make_marked_nmethods_not_entrant();
+    // Make the dependent methods zombies (like VM_Deoptimize)
+    CodeCache::make_marked_nmethods_zombies();
   }
 }
 #endif // HOTSWAP