diff -r e3aa9f95b85e -r 54c1ba464b78 src/hotspot/share/runtime/vmOperations.cpp --- a/src/hotspot/share/runtime/vmOperations.cpp Mon Oct 07 15:48:26 2019 +0200 +++ b/src/hotspot/share/runtime/vmOperations.cpp Mon Oct 07 16:48:42 2019 +0200 @@ -116,18 +116,6 @@ } } -void VM_Deoptimize::doit() { - // We do not want any GCs to happen while we are in the middle of this VM operation - ResourceMark rm; - DeoptimizationMarker dm; - - // Deoptimize all activations depending on marked nmethods - Deoptimization::deoptimize_dependents(); - - // Make the dependent methods not entrant - CodeCache::make_marked_nmethods_not_entrant(); -} - void VM_MarkActiveNMethods::doit() { NMethodSweeper::mark_active_nmethods(); }