commit | b9001abff3a45f1ae90536da7dd1ec28a6ae0174 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Oct 03 13:28:46 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Oct 03 13:47:39 2014 -0700 |
tree | 9f9c63eb2de3fce4c54583454f37d04f22668f5e | |
parent | 5be30072c5a750617dc3f9380776d074f26d9f32 [diff] |
Add extra logging for lock contention When we get contention which is longer than kLongWaitMs (= 100ms) we log to logcat. Example output: W/art ( 9960): Long monitor contention event with owner method=void com.android.server.am.BroadcastQueue.processNextBroadcast(boolean) from BroadcastQueue.java:542 waiters=1 for 243ms Bug: 17787391 Change-Id: Id1f92d9c41ec909d221871ecc2ff6181dcec2ed4