diff -r 4eebb9aadbe3 -r 408c445d04e8 src/hotspot/share/runtime/vmOperations.cpp --- a/src/hotspot/share/runtime/vmOperations.cpp Thu Sep 19 09:50:11 2019 +0200 +++ b/src/hotspot/share/runtime/vmOperations.cpp Thu Sep 19 10:52:22 2019 +0200 @@ -115,18 +115,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(); }