tag | f81b0d57e45344facb33dcf0039d9874c827390c | |
---|---|---|
tagger | Pierre-Yves Ricau <py@squareup.com> | Tue Jul 21 05:10:54 2015 |
object | a86bf3ef22a5c8dec638ded87e984fb62f344510 |
[maven-release-plugin] copy for tag haha-2.0.2
commit | a86bf3ef22a5c8dec638ded87e984fb62f344510 | [log] [tgz] |
---|---|---|
author | Pierre-Yves Ricau <py@squareup.com> | Tue Jul 21 05:10:52 2015 |
committer | Pierre-Yves Ricau <py@squareup.com> | Tue Jul 21 05:10:52 2015 |
tree | 495edc1b81c6caae12212b83dc79e72c838efb28 | |
parent | c99916aa024a2356a9002ff06a4da042891a54d3 [diff] |
[maven-release-plugin] prepare release haha-2.0.2
“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' }