commit | d288a266723e18d846ea1215919f7a377504225b | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Jul 10 13:44:42 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Jul 10 15:33:59 2015 -0700 |
tree | c14eeb372207ec9b688a737d5b708b4f9c82d7b0 | |
parent | 07e1c409acc375ae88b6cc73fe4541db529c9638 [diff] |
Change conditionallyCheckInstanceCounts to use countInstancesOfClasses countInstancesOfClasses allows passing multiple classes unlike countInstanceOfClass. This provides a speedup since we dont traverse the heap multiple times. Changed ActivityThread.dumpMemInfo to do a GC since countInstancesOfClass no longer does GC before counting. https://code.google.com/p/android/issues/detail?id=177552 Change-Id: Ia85684f40cf59a52aa71a8479c711a994651209b