History log of /art/runtime/mapping_table.h
Revision Date Author Comments
2cebb24bfc3247d3e9be138a3350106737455918 22-Apr-2015 Mathieu Chartier <mathieuc@google.com> Replace NULL with nullptr

Also fixed some lines that were too long, and a few other minor
details.

Change-Id: I6efba5fb6e03eb5d0a300fddb2a75bf8e2f175cb
12d16ad924836cad46419a0f7eb57e13363139ef 27-Feb-2014 Vladimir Marko <vmarko@google.com> Clean up MappingTable::FirstDexToPcPtr().

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
1e6cb63d77090ddc6aa19c755d7066f66e9ff87e 28-Nov-2013 Vladimir Marko <vmarko@google.com> Delta-encoding of mapping tables.

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
159aa95e1e23cd585ac305b44b4cd65ae72048a4 14-Nov-2013 Ian Rogers <irogers@google.com> Make exceptions use of LEB decoder valgrind clean.

Bug: 11670287
Change-Id: I0c11c710d03e08559e0032bf602cf7cf13c92da9
20ab6c861d248ae2822b5f38d5c09dff7506fc3a 14-Nov-2013 Ian Rogers <irogers@google.com> Avoid reading off the end of empty mapping tables.

Caught by valgrind.
Bug: 11670287

Change-Id: Ia5feacd6780e8e32c7ed600b5908c0b7d7ed7343
96faf5b363d922ae91cf25404dee0e87c740c7c5 10-Aug-2013 Ian Rogers <irogers@google.com> Uleb128 compression of vmap and mapping table.

Bug 9437697.

Change-Id: I30bcb97d12cd8b46d3b2cdcbdd358f08fbb9947a
(cherry picked from commit 1809a72a66d245ae598582d658b93a24ac3bf01e)
1809a72a66d245ae598582d658b93a24ac3bf01e 10-Aug-2013 Ian Rogers <irogers@google.com> Uleb128 compression of vmap and mapping table.

Bug 9437697.

Change-Id: I30bcb97d12cd8b46d3b2cdcbdd358f08fbb9947a