summaryrefslogtreecommitdiff
path: root/runtime/base/arena_allocator.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-09-17 17:03:26 +0100
committer Vladimir Marko <vmarko@google.com> 2015-09-25 12:18:02 +0100
commit2aaa4b5532d30c4e65d8892b556400bb61f9dc8c (patch)
treef4259c33171ec8efd945aeedab1e57feb7970f42 /runtime/base/arena_allocator.cc
parent3f4b39dec9ec6b8948ed18b9d65ba49db2465004 (diff)
Optimizing: Tag more arena allocations.
Replace GrowableArray with ArenaVector and tag arena allocations with new allocation types. As part of this, make the register allocator a bit more efficient, doing bulk insert/erase. Some loops are now O(n) instead of O(n^2). Change-Id: Ifac0871ffb34b121cc0447801a2d07eefd308c14
Diffstat (limited to 'runtime/base/arena_allocator.cc')
-rw-r--r--runtime/base/arena_allocator.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/base/arena_allocator.cc b/runtime/base/arena_allocator.cc
index 4e51f5555d..c1a108839b 100644
--- a/runtime/base/arena_allocator.cc
+++ b/runtime/base/arena_allocator.cc
@@ -55,6 +55,7 @@ const char* const ArenaAllocatorStatsImpl<kCount>::kAllocNames[] = {
"RegAlloc ",
"Data ",
"STL ",
+ "GraphBuilder ",
"Graph ",
"BasicBlock ",
"BlockList ",
@@ -74,12 +75,20 @@ const char* const ArenaAllocatorStatsImpl<kCount>::kAllocNames[] = {
"Environment ",
"EnvVRegs ",
"EnvLocations ",
+ "LocSummary ",
"SsaBuilder ",
"MoveOperands ",
"CodeBuffer ",
"StackMaps ",
"BaselineMaps ",
"Optimization ",
+ "GVN ",
+ "SsaLiveness ",
+ "SsaPhiElim ",
+ "RefTypeProp ",
+ "PrimTypeProp ",
+ "SideEffects ",
+ "RegAllocator ",
};
template <bool kCount>