diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-01-11 10:19:06 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-01-12 09:56:18 -0800 |
commit | 62597d1dc4e62d36addcc2f1c452cbd6f565a420 (patch) | |
tree | 01ab6184c9febdbdf5fbfd1ed33e4469aaf56974 /compiler/optimizing/graph_visualizer.cc | |
parent | c3ba07ef76549129705af28173070b88a1c39531 (diff) |
Add sleep in SuspendAllDaemonThreadsForShutdown
Only sleep if there are still daemon threads. Since we have already
shutdown the runtime daemons, this is a rare case. The goal of the
sleep is to leave daemon threads time to become blocked in a place
where they ideally will not touch runtime state.
Bug: 26483935
Bug: 18577101
Change-Id: Iad12209e771720523620e0a3829a75ec4647f58b
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions