History log of /art/libdexfile/dex/compact_offset_table_test.cc
Revision Date Author Comments
2daa13448d5caeb7eb4f7fd3981c0d430264c7c3 21-Feb-2018 Mathieu Chartier <mathieuc@google.com> Fix unquickening logic for quickened input dexes

In the case where an input dex is already quickened (i.e.
obfuscation), do not attempt to unquicken it. This is done by
switching the quicken info table to the compact offset table (used by
cdex debug infos).

Added test.

Posssible to get a bit of extra savings by deleting the quicken info
num entries field.

Quicken filter size regression average on golem: -0.14%.

Bug: 72608794
Bug: 63756964
Test: test-art-host-gtest-dex2oat_test -j64
Change-Id: I5534a7509b4c718a9b959fa43b82bde857e0b59e
5e3cfa295a44d4f1a0eb26134c6f866b27245a9f 21-Feb-2018 Mathieu Chartier <mathieuc@google.com> Generalize CompactDexDebugInfo offset table

Renamed the class to CompactOffsetTable.

Motivation: Use this table for quicken info offsets too.

Bug: 72608794
Bug: 63756964
Test: test-art-host-gtest
Change-Id: Idcb5355d8a5e4354bc3694152a7270047bed9d0a