diff options
author | Andreas Gampe <agampe@google.com> | 2015-03-25 17:19:53 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-03-27 21:43:21 -0700 |
commit | 81c6f8db12b203878a7d72444ead2bc7cf5c47ad (patch) | |
tree | 11caae30b75b700ac648356fd30759a6154be997 /compiler/jit | |
parent | cac51526bbd03947676a8d49700425b19a57e447 (diff) | |
download | android_art-81c6f8db12b203878a7d72444ead2bc7cf5c47ad.tar.gz android_art-81c6f8db12b203878a7d72444ead2bc7cf5c47ad.tar.bz2 android_art-81c6f8db12b203878a7d72444ead2bc7cf5c47ad.zip |
ART: PathClassLoader for compiler
Use an actual PathClassLoader when compiling apps, instead of a
side structure and cutout.
This CL sets up a minimal object 'cluster' that recreates the Java
side of a regular ClassLoader such that the Class-Linker will
recognize it and use the internal native fast-path.
This CL removes the now unnecessary compile-time-classpath and
replaces it with a single 'compiling-the-boot-image' flag in the
compiler callbacks.
Note: This functionality is *only* intended for the compiler, as
the objects have not been completely initialized.
Bug: 19781184
Change-Id: I7f36af12dd7852d21281110a25c119e8c0669c1d
Diffstat (limited to 'compiler/jit')
-rw-r--r-- | compiler/jit/jit_compiler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 8b311542f6..d034736f95 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -89,7 +89,8 @@ JitCompiler::JitCompiler() : total_time_(0) { verification_results_.reset(new VerificationResults(compiler_options_.get())); method_inliner_map_.reset(new DexFileToMethodInlinerMap); callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(), - method_inliner_map_.get())); + method_inliner_map_.get(), + false)); compiler_driver_.reset(new CompilerDriver( compiler_options_.get(), verification_results_.get(), method_inliner_map_.get(), Compiler::kQuick, instruction_set, instruction_set_features_.get(), false, |