commit | 111b10957aee2c0f79310fcec4cff32eb90bf1c2 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Jun 22 20:28:23 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Jun 22 20:28:23 2017 -0700 |
tree | 043ef481eef7b7b9d4284860b58a66ef54b5ede6 | |
parent | 19921b70fef519c644d56a6aeb7f82491ba1850c [diff] |
ART: Change contention logging lock strategy Compute possible contention (wrt/ sampling) first. Then keep the whole logging section under the mutator lock *and* the thread-list lock so as to avoid any thread races. This change is in preparation for heavier logging under heavy lock contention. Enable contention logging in 004-ThreadStress. Bug: 62353392 Test: m test-art-host Change-Id: I7b9126bae273f0cddb681f5f013ce6d814c7b8c0