tag | 53643a339b68c0985713617a39b0823e4a9199d6 | |
---|---|---|
tagger | John Rodriguez <jrod@squareup.com> | Tue May 17 21:06:14 2016 |
object | ecf8ff98d12391d53ecec456c888ec4a0a32a237 |
[maven-release-plugin] copy for tag haha-2.0.3
commit | ecf8ff98d12391d53ecec456c888ec4a0a32a237 | [log] [tgz] |
---|---|---|
author | John Rodriguez <jrod@squareup.com> | Tue May 17 21:06:10 2016 |
committer | John Rodriguez <jrod@squareup.com> | Tue May 17 21:06:10 2016 |
tree | c511cfd728222fb3a674d36eaa8b7718500d30ea | |
parent | aeb5aed1c654b2de68ee956c6799b76181f428ad [diff] |
[maven-release-plugin] prepare release haha-2.0.3
“Ha Ha!” - Nelson
HAHA is a Java library to automate the analysis of Android heap dumps.
This project is essentially a repackaging of the work of others to make it available as a small footprint Maven dependency.
To learn how to dump the heap, read the Android documentation. Here's an example:
File heapDumpFile = ... Debug.dumpHprofData(heapDumpFile.getAbsolutePath());
After dumping the heap, use HAHA to parse and analyze it.
HprofBuffer buffer = new MemoryMappedFileBuffer(heapDumpFile); HprofParser parser = new HprofParser(buffer); Snapshot snapshot = parser.parse(); // The rest is up to you. ClassObj someClass = snapshot.findClass("com.example.SomeClass");
dependencies { compile 'com.squareup.haha:haha:2.0.3' }