OSDN Git Service

ART: Swap-space in the compiler
authorAndreas Gampe <agampe@google.com>
Tue, 9 Dec 2014 00:59:43 +0000 (16:59 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 19 Dec 2014 00:56:10 +0000 (16:56 -0800)
commit62746d8d9c4400e4764f162b22bfb1a32be287a9
tree415dc3a150d7f6d2df6672c640c19e70f2aab4db
parent15ff1a8642fbbe3fb29273f35005ccc7524bb942
ART: Swap-space in the compiler

Introduce a swap-space and corresponding allocator to transparently
switch native allocations to memory backed by a file.

Bug: 18596910
Change-Id: I131448f3907115054a592af73db86d2b9257ea33
25 files changed:
build/Android.gtest.mk
compiler/Android.mk
compiler/common_compiler_test.cc
compiler/compiled_method.cc
compiler/compiled_method.h
compiler/dex/quick/codegen_util.cc
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver.h
compiler/jni/quick/jni_compiler.cc
compiler/oat_test.cc
compiler/oat_writer.cc
compiler/optimizing/optimizing_compiler.cc
compiler/utils/array_ref.h
compiler/utils/dedupe_set.h
compiler/utils/dedupe_set_test.cc
compiler/utils/swap_space.cc [new file with mode: 0644]
compiler/utils/swap_space.h [new file with mode: 0644]
compiler/utils/swap_space_test.cc [new file with mode: 0644]
dex2oat/dex2oat.cc
runtime/base/unix_file/fd_file.cc
runtime/base/unix_file/fd_file.h
runtime/common_runtime_test.cc
runtime/common_runtime_test.h
test/etc/host-run-test-jar
test/run-test