summaryrefslogtreecommitdiffstats
path: root/runtime/mapping_table.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up MappingTable::FirstDexToPcPtr().Vladimir Marko2014-02-271-2/+2
| | | | | | | | Use DecodeSignedLeb128() to skip over dex PCs. This is just to be consistent, the number of bytes skipped is the same as with DecodeUnsignedLeb128() and the result is ignored. Change-Id: Ib5198b0367030957a6e2c650200121c2d828c0a6
* Delta-encoding of mapping tables.Vladimir Marko2013-11-291-6/+10
| | | | | | | | | | | | | | Both PC offsets and dalvik offsets are delta-encoded. Since PC offsets are increasing, the deltas are then compressed as unsigned LEB128. Dalvik offsets are not monotonic, so their deltas are compressed as signed LEB128. This reduces the size of the mapping tables by about 30% on average, 25% from the PC offset and 5% from the dalvik offset delta encoding. Bug: 9437697 Change-Id: I600ab9c22dec178088d4947a811cca3bc8bd4cf4
* Make exceptions use of LEB decoder valgrind clean.Ian Rogers2013-11-141-16/+18
| | | | | Bug: 11670287 Change-Id: I0c11c710d03e08559e0032bf602cf7cf13c92da9
* Avoid reading off the end of empty mapping tables.Ian Rogers2013-11-131-4/+8
| | | | | | | Caught by valgrind. Bug: 11670287 Change-Id: Ia5feacd6780e8e32c7ed600b5908c0b7d7ed7343
* Uleb128 compression of vmap and mapping table.Ian Rogers2013-08-121-0/+196
Bug 9437697. Change-Id: I30bcb97d12cd8b46d3b2cdcbdd358f08fbb9947a (cherry picked from commit 1809a72a66d245ae598582d658b93a24ac3bf01e)