OSDN Git Service

JNI dlsym lookup fixes.
authorIan Rogers <irogers@google.com>
Tue, 8 Jul 2014 04:44:06 +0000 (21:44 -0700)
committerIan Rogers <irogers@google.com>
Tue, 8 Jul 2014 04:44:06 +0000 (21:44 -0700)
commit04c31d2c984d382b4186974fa0a416aecbed2625
tree7790a9443b7e5639f2674104514d2e690f6d812f
parent0da09a026fb6c612e659dc782312987b4515f472
JNI dlsym lookup fixes.

Thread* self is passed on all architectures apart from ARM and ARM64.
On x86 restore ebx correctly. Pass self in correct register on x86-64.
Ensure methods are compiled in jni_compiler_test even if the generic JNI
trampoline is present.

Change-Id: If5fdb1de97b78ac5a5cf8d0915c5b82311f23eb9
compiler/jni/jni_compiler_test.cc
runtime/arch/x86/jni_entrypoints_x86.S
runtime/arch/x86_64/jni_entrypoints_x86_64.S
runtime/entrypoints/jni/jni_entrypoints.cc
runtime/entrypoints/quick/quick_trampoline_entrypoints.cc