commit | bfbe5771106a07f9c8e8685e402b1003db40526f | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Wed Jan 19 00:10:58 2011 -0800 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Wed Jan 19 14:52:08 2011 -0800 |
tree | ae601d0c417906b9b35cf76cff18040e0bab8376 | |
parent | 8e7d626385eef104d52aa9080b70395ca840a0cd [diff] [blame] |
StrictMode: class instance limits (track object "leaks") Change-Id: I2db5a19060c2013078feb88a91caf655469b2f98
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 2ef85d5..9e9a4f2 100755 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -6817,6 +6817,9 @@ if (info.durationMillis != -1) { sb.append("Duration-Millis: ").append(info.durationMillis).append("\n"); } + if (info.numInstances != -1) { + sb.append("Instance-Count: ").append(info.numInstances).append("\n"); + } if (info.tags != null) { for (String tag : info.tags) { sb.append("Span-Tag: ").append(tag).append("\n");