OSDN Git Service

ART: Make trampoline compiler pointer-size-safe
authorAndreas Gampe <agampe@google.com>
Wed, 9 Dec 2015 23:14:04 +0000 (15:14 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 9 Dec 2015 23:14:04 +0000 (15:14 -0800)
commitda9b763abc712fd6d1e24170a194abfbe795b8cd
tree4a7c54f2b3d1d17d1366cc67a99b34a642b0a5e7
parentedacb55f89a7e9744fded94b55aefaca7b2e9e57
ART: Make trampoline compiler pointer-size-safe

The trampoline compiler uses offsets of runtime structures which
may change with the pointer size.

Add offset tests to jni_internal_test.

Bug: 26071368
Change-Id: I01d1a3727f46b3015ac677afb5427337c3093402
compiler/trampolines/trampoline_compiler.cc
runtime/indirect_reference_table.h
runtime/jni_env_ext.cc
runtime/jni_env_ext.h
runtime/jni_internal_test.cc