summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-02-21 17:00:28 +0000
committerVladimir Marko <vmarko@google.com>2017-02-21 17:41:25 +0000
commit26248c7168b79e8ee83b509a904f9bf31030be92 (patch)
treede44dd770e1ec96d6961c5b74dc508be4d17aa2e /test/ProfileTestMultiDex/Main.java
parent30e015c442c8033390c30d2f293604723c29bc75 (diff)
Reduce dex2oat memory usage from VariableHandleScope.
Pack more handles in FixedSizeHandleScope<>s to reduce the per-Handle<> overhead. Measured compilation of a big app using heaptrack: before: 3571397 calls to allocation functions with 2.59MB peak consumption from art::MutableHandle<> art::ReferenceTypePropagation::HandleCache::NewHandle<>(art::ObjPtr<>) after: 1139808 calls to allocation functions with 1.54MB peak consumption from art::MutableHandle<> art::ReferenceTypePropagation::HandleCache::NewHandle<>(art::ObjPtr<>) Test: Rely on TreeHugger. Bug: 34053922 Change-Id: I160990f3a89aadffc9e6753da30b448937f8eaf0
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions