--- old/src/share/vm/memory/universe.cpp 2014-08-22 10:18:42.697200000 -0400 +++ new/src/share/vm/memory/universe.cpp 2014-08-22 10:18:39.908415000 -0400 @@ -1256,8 +1256,8 @@ // 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