commit | ffaf87a429766ed80e6afee5bebea93db539620b | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Wed May 23 14:44:39 2018 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Mon May 28 08:45:37 2018 +0100 |
tree | d79637f4b6a564facf4b837c3ff125bb3755594e | |
parent | 5513c2b68a08109a5bfd811c7b2c8bbc66244e8e [diff] |
Optimize register mask and stack mask in stack maps. Use BitTable to store the masks as well and move the deduplication responsibility to the BitTable builders. Don't generate entries for masks which are all zeros. This saves 0.2% of .oat file size on both Arm64 and Arm. Encode registers as (value+shift) due to tailing zeros. This saves 1.0% of .oat file size on Arm64 and 0.2% on Arm. Test: test-art-host-gtest Change-Id: I636b7edd49e10e8afc9f2aa385b5980f7ee0e1f1