commit | 3ae82531b336b195a78c864c28af1448a74af633 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Wed Jul 26 13:59:07 2017 -0700 |
committer | Alex Light <allight@google.com> | Fri Jul 28 15:26:25 2017 -0700 |
tree | 5af4b05eee6c950e4166efa58c80633accb9febd | |
parent | 47d49b842a87823df6ffda30bb21bd6d8e4d8641 [diff] |
Ensure thread_list_lock_ is correctly locked We were incorrectly disallowing the thread_list_lock_ on the InstrumentThreadStack function and not holding it for long enough in some other situations. This meant we could have hit issues where threads die in unexpected situations. Test: ./art/test.py --host -j50 Test: ./art/tools/run-jdwp-tests.sh --mode=host Bug: 34414073 Bug: 62821960 Change-Id: I91f5daa59cca4aaf3a73e860f68bb01c9ec0a47f