OSDN Git Service

Split profile recording from jit compilation
authorCalin Juravle <calin@google.com>
Wed, 20 Apr 2016 13:22:09 +0000 (14:22 +0100)
committerCalin Juravle <calin@google.com>
Wed, 27 Apr 2016 11:46:00 +0000 (12:46 +0100)
commite5de54cfab5f14ba0b8ff25d8d60901c7021943f
treebaf3de07d57ee640d80648dfb168aaa10a02e9e3
parent43c8e872578cf27efcc0edce70119164e313f648
Split profile recording from jit compilation

We still use ProfileInfo objects to record profile information. That
gives us the flexibility to add the inline caches in the future and the
convenience of the already implemented GC.

If UseJIT is false and SaveProfilingInfo true, we will only record the
ProfileInfo and never launch compilation tasks.

Bug: 27916886
Change-Id: I6e4768dc5d58f2f85f947b276b4244aa11ce3fca
31 files changed:
cmdline/cmdline_parser_test.cc
compiler/dex/verification_results.cc
compiler/dex/verified_method.cc
compiler/driver/compiler_driver.cc
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_arm64.cc
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/inliner.cc
compiler/optimizing/sharpening.cc
runtime/art_method.cc
runtime/class_linker.cc
runtime/gc/heap.cc
runtime/jit/jit.cc
runtime/jit/jit.h
runtime/jit/profile_saver.cc
runtime/jit/profile_saver.h
runtime/parsed_options.cc
runtime/quick/inline_method_analyser.cc
runtime/quick_exception_handler.cc
runtime/runtime.cc
runtime/runtime.h
runtime/runtime_options.def
runtime/stack.cc
test/570-checker-osr/osr.cc
test/595-profile-saving/expected.txt [new file with mode: 0644]
test/595-profile-saving/info.txt [new file with mode: 0644]
test/595-profile-saving/profile-saving.cc [new file with mode: 0644]
test/595-profile-saving/run [new file with mode: 0644]
test/595-profile-saving/src/Main.java [new file with mode: 0644]
test/Android.libarttest.mk