OSDN Git Service

Deduplicate register masks
authorMathieu Chartier <mathieuc@google.com>
Tue, 31 Jan 2017 22:25:16 +0000 (14:25 -0800)
committerMathieu Chartier <mathieuc@google.com>
Wed, 1 Feb 2017 20:46:43 +0000 (12:46 -0800)
commit1a20b6801f2432a42b906f0de01e7e9586526aec
treeae3faaf42a2b560601fc024ae16898a5dfa42261
parent357dcb73934356239292c46d6fbedba734da5e00
Deduplicate register masks

Data is commonly shared between different stack maps. The register
masks are stored after the stack masks.

Oat size for a large app:
96722288 -> 94485872 (-2.31%)

Average oat size reduction according to golem -3.193%.

Bug: 34621054

Test: test-art-host

Change-Id: I5eacf668992e866d11ddba0c01675038a16cdfb4
compiler/optimizing/stack_map_stream.cc
compiler/optimizing/stack_map_stream.h
compiler/optimizing/stack_map_test.cc
oatdump/oatdump.cc
runtime/check_reference_map_visitor.h
runtime/oat.h
runtime/quick_exception_handler.cc
runtime/stack_map.cc
runtime/stack_map.h
runtime/thread.cc