commit | f1820850307f7c2940c758f1232e1c40888a111a | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Jul 10 13:19:51 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Jul 10 16:31:08 2015 -0700 |
tree | cb04d286428af5950f18d033ae84f8ea93f57df2 | |
parent | eaffe35038dc7b9e9e95ec997d32d19571973f54 [diff] |
Add VMDebug.countInstancesOfClasses countInstancesOfClasses allows passing multiple classes unlike countInstanceOfClass instead of needing to do one at a time. This is going to be used to speed up string mode checking. Also changed the logic to not do a GC, this was the old Dalvik behavior. It is the job of the caller to do this. Added test. https://code.google.com/p/android/issues/detail?id=177552 Change-Id: Ia85684f40cf59a52aa71a8479c711a994651209b