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
Loading
Please sign in to comment