diff options
author | Alex Light <allight@google.com> | 2017-10-20 13:14:24 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-10-20 14:55:06 -0700 |
commit | 739bf72ccb22794bc65203aa4824dba737cadd72 (patch) | |
tree | 0d38323ef87c7e01af949905b5e5bbb13c55a1f7 /compiler/optimizing/graph_visualizer.cc | |
parent | 2f707787e60d74a187c570d6b47a5a14036e09ba (diff) |
Make RunAgentThread ensure thread attach is possible.
We need to ensure that we will be able to actually attach a thread
before we try to create the new agent thread. Previously we were
simply asserting that Attach succeeds and returning instantly. This
could lead to CHECK failures if we were unlucky enough to race with
the runtime destructor.
Test: ./test.py --host -j50
Bug: 68052586
Change-Id: Ib303260f4029346bb0c52c969c69ac54f14cce22
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions