summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/stub_compiler.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2012-06-22 15:05:28 -0700
committer Ian Rogers <irogers@google.com> 2012-06-26 15:21:01 -0700
commit365c10235438607541fa2259a5fec48061b90bd8 (patch)
tree26516a4985a8bbef4c8da36b99bf1e54af3ad24d /src/compiler_llvm/stub_compiler.cc
parent147440427984816b6ed5235a9b1fb2cbf99496d0 (diff)
Increase use of ScopedJniThreadState.
Move the routines for changing Object* to jobject and vice-versa (AddLocalReference and Decode) to ScopedJniThreadState to enforce use of Object*s in the Runnable thread state. In the Runnable thread state suspension is necessary before GC can take place. Reduce use of const ClassLoader* as the code bottoms out in FindClass and with a field assignment where the const is cast away (ie if we're not going to enforce the const-ness we shouldn't pretend it is). Refactor the Thread::Attach API so that we're not handling raw Objects on unattached threads. Remove some unreachable code. Change-Id: I0fa969f49ee6a8f10752af74a6b0e04d46b4cd97
Diffstat (limited to 'src/compiler_llvm/stub_compiler.cc')
0 files changed, 0 insertions, 0 deletions