diff -r 04b17e84c87d -r 3a3e4e473622 src/hotspot/share/runtime/thread.cpp --- a/src/hotspot/share/runtime/thread.cpp Fri Apr 26 08:53:29 2019 +0100 +++ b/src/hotspot/share/runtime/thread.cpp Fri Apr 26 10:18:47 2019 +0200 @@ -2526,21 +2526,6 @@ SafepointMechanism::block_if_requested(curJT); } - if (thread->is_deopt_suspend()) { - thread->clear_deopt_suspend(); - RegisterMap map(thread, false); - frame f = thread->last_frame(); - while (f.id() != thread->must_deopt_id() && ! f.is_first_frame()) { - f = f.sender(&map); - } - if (f.id() == thread->must_deopt_id()) { - thread->clear_must_deopt_id(); - f.deoptimize(thread); - } else { - fatal("missed deoptimization!"); - } - } - JFR_ONLY(SUSPEND_THREAD_CONDITIONAL(thread);) }