summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2016-09-09 09:56:20 +0100
committerRichard Uhler <ruhler@google.com>2017-02-20 12:56:38 +0000
commitcda4f2e72f569e0a0d6119c1c75284fd44df79ab (patch)
tree1b02caaa7cd270912ecd8cd64205f1c70acfe648 /test/ProfileTestMultiDex/Second.java
parent69ed58348af817176734c5541f41737f00f9a1e9 (diff)
Refactor ahat's perflib api.
This change substantially refactors how ahat accesses heap dump data. Rather than use the perflib API directly with some additional information accessed on the side via AhatSnapshot, we introduce an entirely new API for accessing all the information we need from a heap dump. Perflib is used when processing the heap dump to populate the information initially, but afterwards all views and handlers go through the new com.android.ahat.heapdump API. The primary motivation for this change is to facilitate adding support for diffing two heap dumps to ahat. The new API provides flexibility that will make it easier to form links between objects in different snapshots and introduce place holder objects to show when there is an object in another snapshot that has no corresponding object in this snapshot. A large number of test cases were added to cover missing cases discovered in the process of refactoring ahat's perflib API. The external user-facing UI may have minor cosmetic changes, but otherwise is unchanged. Test: m ahat-test, with many new tests added. Bug: 33770653 Change-Id: I1a6b05ea469ebbbac67d99129dd9faa457b4d17e
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions