OSDN Git Service

Deduplicate stack masks
authorDavid Srbecky <dsrbecky@google.com>
Fri, 18 Mar 2016 02:15:09 +0000 (02:15 +0000)
committerMathieu Chartier <mathieuc@google.com>
Tue, 31 Jan 2017 18:15:26 +0000 (10:15 -0800)
commit45aa598cd1773f5eb1705dec13bea059238e054d
treef5a6fd7445a74218547cd6c4e28dc835821c355e
parentf2042db1b41cc21cc540c5ad7d353cbe1e3a32df
Deduplicate stack masks

The stack masks repeat often enough so that it is worth deduplicating
them.

Oat size for a large app:
98143600 -> 96722288 (-1.44%)

Bug: 34621054

Test: test-art-host
Change-Id: If73d51e46066357049d5be2e406ae9a32b7ff1f4
12 files changed:
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/memory_region.cc
runtime/memory_region.h
runtime/oat.h
runtime/quick_exception_handler.cc
runtime/stack_map.cc
runtime/stack_map.h
runtime/thread.cc