aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/mips/GlobalOptimizations.cpp
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmail.com>2012-01-13 08:18:17 +0100
committerJohannes Rudolph <johannes.rudolph@gmail.com>2012-01-13 08:18:17 +0100
commitd8a81cfd749c629de84db32eee3703cc5e0dc28f (patch)
tree1b53298ecbf827a4dd6b827d1b6daff37c79e60e /vm/compiler/codegen/mips/GlobalOptimizations.cpp
parent2ca72c704e7462c56f8c4489369b618872b595a0 (diff)
cleanup redundant interfaces from iftable to avoid excessive LinearAlloc use
In deep interface hierarchies super-interfaces are recursively concatenated to create the iftable. There was no checking for duplicated entries so that the iftable could get pretty large with just a few layers of interfaces up to the point where the LinearAlloc was exceeded completely. This change scans the iftable linearly for existing entries before it adds another one. Issue: http://code.google.com/p/android/issues/detail?id=22586 Change-Id: Idb4a13ca7a52f390661629cf2539930242526876 Signed-off-by: Johannes Rudolph <johannes.rudolph@gmail.com>
Diffstat (limited to 'vm/compiler/codegen/mips/GlobalOptimizations.cpp')
0 files changed, 0 insertions, 0 deletions