diff options
author | Andreas Gampe <agampe@google.com> | 2017-06-23 13:38:09 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-06-23 15:51:11 -0700 |
commit | d0210e58100e029e865e783beb7906090781f602 (patch) | |
tree | ace7eea3b27e97e3e01060ea1d0a6ef277a8f89f /compiler/optimizing/graph_visualizer.cc | |
parent | a0e63dfbfe2f2513a709e94b8a1ac17418396fdf (diff) |
ART: Add stack-dump mode for contention logging
Add a second threshold to contention logging. If this threshold
is reached, log the owner and the contender thread to the logcat.
Requires a bit of refactor in the contention logging code to hold
the locks correctly (different requirements for owner and contender).
Add -Xstackdumplockprofthreshold:ms to control the threshold value.
As with general contention logging, default to 0 = off. Use ThreadStress
with --locks-only to get test coverage.
Bug: 62353392
Test: m test-art-host
Change-Id: I1b5a5130c4f908497ac06464130844f5ca42a5fb
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions