OSDN Git Service

Move arenas into runtime
authorMathieu Chartier <mathieuc@google.com>
Wed, 18 Feb 2015 22:33:14 +0000 (14:33 -0800)
committerMathieu Chartier <mathieuc@google.com>
Thu, 19 Feb 2015 17:59:50 +0000 (09:59 -0800)
commitb666f4805c8ae707ea6fd7f6c7f375e0b000dba8
treea61439a9bcb555dc575286f3e0bb5e50ce185982
parent39109a06015c91188232e59fa9e60e0915d24cd7
Move arenas into runtime

Moved arena pool into the runtime.

Motivation:
Allow GC to use arena allocators, recycle arena pool for linear alloc.

Bug: 19264997
Change-Id: I8ddbb6d55ee923a980b28fb656c758c5d7697c2f
47 files changed:
compiler/Android.mk
compiler/dex/compiler_ir.h
compiler/dex/global_value_numbering.h
compiler/dex/gvn_dead_code_elimination.h
compiler/dex/local_value_numbering.h
compiler/dex/mir_analysis.cc
compiler/dex/mir_graph.cc
compiler/dex/mir_graph.h
compiler/dex/mir_optimization.cc
compiler/dex/quick/arm/codegen_arm.h
compiler/dex/quick/mir_to_lir.h
compiler/dex/quick/resource_mask.cc
compiler/dex/ssa_transformation.cc
compiler/driver/compiler_driver.h
compiler/optimizing/bounds_check_elimination.cc
compiler/optimizing/bounds_check_elimination_test.cc
compiler/optimizing/builder.h
compiler/optimizing/dominator_test.cc
compiler/optimizing/find_loops_test.cc
compiler/optimizing/graph_test.cc
compiler/optimizing/gvn_test.cc
compiler/optimizing/linearize_test.cc
compiler/optimizing/live_interval_test.cc
compiler/optimizing/live_ranges_test.cc
compiler/optimizing/liveness_test.cc
compiler/optimizing/locations.h
compiler/optimizing/nodes.h
compiler/optimizing/nodes_test.cc
compiler/optimizing/optimizing_compiler.cc
compiler/optimizing/parallel_move_test.cc
compiler/optimizing/pretty_printer_test.cc
compiler/optimizing/register_allocator_test.cc
compiler/optimizing/ssa_test.cc
compiler/utils/arena_allocator_test.cc
compiler/utils/arena_bit_vector.cc
compiler/utils/arena_bit_vector.h
compiler/utils/growable_array.h
compiler/utils/swap_space.h
runtime/Android.mk
runtime/base/arena_allocator.cc [moved from compiler/utils/arena_allocator.cc with 99% similarity]
runtime/base/arena_allocator.h [moved from compiler/utils/arena_allocator.h with 95% similarity]
runtime/base/arena_containers.h [moved from compiler/utils/arena_containers.h with 97% similarity]
runtime/base/arena_object.h [moved from compiler/utils/arena_object.h with 92% similarity]
runtime/base/debug_stack.h [moved from compiler/utils/debug_stack.h with 97% similarity]
runtime/base/scoped_arena_allocator.cc [moved from compiler/utils/scoped_arena_allocator.cc with 99% similarity]
runtime/base/scoped_arena_allocator.h [moved from compiler/utils/scoped_arena_allocator.h with 93% similarity]
runtime/base/scoped_arena_containers.h [moved from compiler/utils/scoped_arena_containers.h with 95% similarity]