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
--- 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; }