6523512: has_special_runtime_exit_condition checks for is_deopt_suspend needlessly
authorjcm
Thu, 26 Oct 2017 05:59:15 -0700
changeset 47699 068d316e905e
parent 47698 d4bfafe600d0
child 47700 c6d2381c6932
6523512: has_special_runtime_exit_condition checks for is_deopt_suspend needlessly Summary: removed is_deopt_suspend() from has_special_runtime_exit_condition checks Reviewed-by: dlong, thartmann
src/hotspot/share/runtime/thread.hpp
--- a/src/hotspot/share/runtime/thread.hpp	Wed Oct 25 16:30:31 2017 -0700
+++ b/src/hotspot/share/runtime/thread.hpp	Thu Oct 26 05:59:15 2017 -0700
@@ -1272,7 +1272,7 @@
     // we have checked is_external_suspend(), we will recheck its value
     // under SR_lock in java_suspend_self().
     return (_special_runtime_exit_condition != _no_async_condition) ||
-            is_external_suspend() || is_deopt_suspend() || is_trace_suspend();
+            is_external_suspend() || is_trace_suspend();
   }
 
   void set_pending_unsafe_access_error()          { _special_runtime_exit_condition = _async_unsafe_access_error; }