summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2012-10-29 16:34:15 -0700
committer Ian Rogers <irogers@google.com> 2012-11-01 17:26:15 -0700
commit64b6d145fa53b8dfb07a8fc2426af13f155d5a4d (patch)
tree727647da235e21508d6661c7e2a780ff8ee2003e /src/compiler_llvm/method_compiler.cc
parent0f79d728370ab51b9b16a356b058c48330f43148 (diff)
Interpret class initializers when building image.
We initialize all image classes with the interpreter if they have a class/static initializer. Black list classes whose initializers need access to on device native code. If such classes are added to the image classes they will fail when they attempt to enter JNI code. A number of "intrinsic" style JNI routines are special cased to allow more than just trivial class initializers to run. Add a lock for initialization in the compiler to serialize the execution of class initializers and avoid deadlock. Remove InSourceSpace from image writer (cruft) and teach the image writer to fix up referent fields in references. Fix bugs in the interprerter and implement filled-new-array. Factor some VM code to more easily share between the interpreter and JNI entry points. Change-Id: I6bb811dea84f1b82260b1a4e73ac7412179c0b41
Diffstat (limited to 'src/compiler_llvm/method_compiler.cc')
0 files changed, 0 insertions, 0 deletions