summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-06-23 13:38:09 -0700
committerAndreas Gampe <agampe@google.com>2017-06-23 15:51:11 -0700
commitd0210e58100e029e865e783beb7906090781f602 (patch)
treeace7eea3b27e97e3e01060ea1d0a6ef277a8f89f /compiler/optimizing/graph_visualizer.cc
parenta0e63dfbfe2f2513a709e94b8a1ac17418396fdf (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