Change state to waiting during aborting the VM
Process freeze when multiple runtime error happen on runnable threads.
When multiple runtime error happen, only one thread locks abort_lock_
and other threads are blocked even if they are runnable state.
If an other thread tries to suspend blocked threads at the same time,
blocked threads can't be suspended until abort_lock_ is unlocked from
owner thread. But owner thread can be suspended even if it locks
abort_lock_. Thus, these threads causes dead lock.
Change state to waiting when locking abort_lock_.
6 files changed