commit | 90db3a16b79470f4b67a4e3c008f98f9c90e0326 | [log] [tgz] |
---|---|---|
author | Ben Gruver <bgruv@google.com> | Tue Jan 07 13:53:03 2014 -0800 |
committer | Ben Gruver <bgruv@google.com> | Thu Jan 16 21:29:26 2014 -0800 |
tree | 5216ac108ef291cc42f1b8ccadef648f78b38cd0 | |
parent | 532c04b27d086f342b1e579f55f2ad5d74e289c5 [diff] |
Lazily create the lists in MethodLocation Millions of MethodLocations can be created and kept in memory when using the Builder interface to build a large dex file. The arrays backing these lists were taking up a large amount of memory.
smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android's Java VM implementation. The syntax is loosely based on Jasmin's/dedexer's syntax, and supports the full functionality of the dex format (annotations, debug info, line info, etc.)
The primary webpage is http://smali.googlecode.com, and the source is also mirrored at https://github.com/jesusfreke/smali. If you are interested in submitting a patch, feel free to send me a pull request on either site.