summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-04-25 08:40:42 -0700
committerAndreas Gampe <agampe@google.com>2018-04-25 10:12:39 -0700
commit8047d8477c5723ae8cc9411531d0c5d6444ed974 (patch)
tree8cd0fb7962e064060683581d0b53afac44c46481 /compiler/optimizing/graph_visualizer.cc
parent189ee81f9768f4ffbd3ffa52997a229c81ac0c7e (diff)
ART: Change direct-method overlap detection
Avoid allocations in a hash set when trying to ensure that there are no method-ids denoting both direct and virtual methods. Instead use a copy of the item iterator, as the methods are guaranteed to be sorted. Saves 1% of instructions for a compiler-filter=extract compact-dex-level=none compile: Before After Small app 545,345,563 540,654,732 Large app 8,040,713,801 7,956,413,657 Bug: 78568168 Test: m test-art-host Change-Id: Ia2a0fbb82dad5d9fa781cbab46fe543d1dd0645e
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions