summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2020-01-31 16:29:35 -0800
committerHans Boehm <hboehm@google.com>2020-02-06 00:00:30 +0000
commitdc77ca3d54bd83faee98591474728a5e3ecfc551 (patch)
treef8f1fb9444b9ceed31a5c24f4408920bb30c56ab /compiler/optimizing/graph_visualizer.cc
parent948f0624554f3811020daadc5413f87dace964c3 (diff)
Wait sooner for non-daemon threads
When the main thread returns, we attempt to shut down the runtime. Sometime during that process we always waited for non-daemon threads to complete as required. But previously we only did so after the runtime was partially shut down, potentially causing the remaining threads to deadlock. This explicitly waits before we start destroying the runtime. Add test to make sure that a long running child thread finishes properly. Bug: 148126377 Bug: 147619421 Test: New test fails without waiting call, passes with. Change-Id: Ic60d695c8a03543b51d8532156f19fff00a58edc
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions