commit | 6237cd38020699852e8a293a2b92e3a2e3aa3288 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Jun 22 22:17:38 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Jun 22 22:17:38 2017 -0700 |
tree | 41c5d17b14c5b366be0f90359dba77262f490c32 | |
parent | 19921b70fef519c644d56a6aeb7f82491ba1850c [diff] |
ART: Fix missing wait in GetAllStackTraces It's the responsibility of the caller to wait until all threads have run the checkpoint. Add a barrier and refactor code into a helper that initiates the checkpoint and waits for completion. Follow-up to commit f1221a1f39987b94a54dc57b824fcf360c890ed0. Bug: 62353392 Test: m test-art-host Change-Id: I2d31b8ef9964a2e525dc4292c00d3caf3498718c