OSDN Git Service

Use instruction specific dalvik cache dirs.
authorNarayan Kamath <narayan@google.com>
Wed, 23 Apr 2014 19:24:57 +0000 (20:24 +0100)
committerNarayan Kamath <narayan@google.com>
Thu, 1 May 2014 10:25:07 +0000 (11:25 +0100)
commit11d9f06a96a6909905c248ed684366190140095c
tree27b02ab216b98ba1656d66072fd46c5adec61242
parentb3016551e5f264264dbb633a1ddf03ac97f9c66c
Use instruction specific dalvik cache dirs.

- All oat & art files are now placed under /data/dalvik-cache/<isa>/.
- GetDalvikCacheOrDie now requires a mandatory subdirectory argument,
  and is implicitly rooted under /data/.
- Added helper methods to convert InstructionSet enums into strings
  and vice versa.

(cherry picked from commit 2974bc3d8a5d161d449dd66826d668d87bdc3cbe)

Change-Id: Ic7986938e6a7091a2af675ebafec768f7b5fb8cd
18 files changed:
build/Android.gtest.mk
compiler/llvm/llvm_compilation_unit.cc
dex2oat/dex2oat.cc
runtime/class_linker.cc
runtime/gc/heap.cc
runtime/gc/heap.h
runtime/gc/space/image_space.cc
runtime/gc/space/image_space.h
runtime/instruction_set.cc
runtime/instruction_set.h
runtime/instruction_set_test.cc [new file with mode: 0644]
runtime/native/dalvik_system_DexFile.cc
runtime/parsed_options.cc
runtime/parsed_options.h
runtime/runtime.cc
runtime/utils.cc
runtime/utils.h
runtime/utils_test.cc