commit | f8a86b9ecefecae8bc0e456d540dae115249fdb6 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Jun 14 17:08:47 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Jun 14 17:58:29 2016 -0700 |
tree | a0621285655b30bba6e13cbd6d3b65d85f1d20cc | |
parent | 336f697941f2efd1d9ab9f5d45cc31e24e79b1b9 [diff] |
Visit invalid roots of only suspended threads Since this always happens with suspended threads or self, you can just visit these threads and do not require a suspend all. This will not miss any roots if the caller was marking a thread root. Fixes issues like transitioning to suspended and back blocking on a thread suspension request from another thread. This could cause deadlocks previously. Bug: 29062271 Change-Id: I2fef149387aacf0cdc9a773d4f172c42fa53e4dc