diff options
author | Andreas Gampe <agampe@google.com> | 2017-06-22 20:28:23 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-06-22 20:28:23 -0700 |
commit | 111b10957aee2c0f79310fcec4cff32eb90bf1c2 (patch) | |
tree | 043ef481eef7b7b9d4284860b58a66ef54b5ede6 /compiler/optimizing/graph_visualizer.cc | |
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions