mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8223572: ~ThreadInVMForHandshake() should call handle_special_runtime_exit_condition()
Reviewed-by: dcubed, rehn, dholmes
This commit is contained in:
parent
a5b7966e81
commit
4e38fe2957
1 changed files with 6 additions and 0 deletions
|
@ -137,6 +137,12 @@ class ThreadInVMForHandshake : public ThreadStateTransition {
|
|||
SafepointMechanism::block_if_requested(_thread);
|
||||
|
||||
_thread->set_thread_state(_original_state);
|
||||
|
||||
if (_original_state != _thread_blocked_trans && _original_state != _thread_in_vm_trans &&
|
||||
_thread->has_special_runtime_exit_condition()) {
|
||||
_thread->handle_special_runtime_exit_condition(
|
||||
!_thread->is_at_poll_safepoint() && (_original_state != _thread_in_native_trans));
|
||||
}
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue