summaryrefslogtreecommitdiffstats
path: root/runtime/arch/x86/entrypoints_init_x86.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-05-07 10:47:27 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2015-05-07 11:28:08 -0700
commit1cc71ebf333ca323ae0e130fefbce4593e385c10 (patch)
treee94897ebb36a21f1c276fc69c44f6a3522cbe093 /runtime/arch/x86/entrypoints_init_x86.cc
parent35b6625c21e9304dd79700f4ff1c26a7e30d2b2d (diff)
downloadart-1cc71ebf333ca323ae0e130fefbce4593e385c10.zip
art-1cc71ebf333ca323ae0e130fefbce4593e385c10.tar.gz
art-1cc71ebf333ca323ae0e130fefbce4593e385c10.tar.bz2
Insert a read barrier in the JNI bridge.
Bug: 20720510 Bug: 12687968 Change-Id: Ia9edb614853bad45ec25d6e2142361a8bda1eccf
Diffstat (limited to 'runtime/arch/x86/entrypoints_init_x86.cc')
-rw-r--r--runtime/arch/x86/entrypoints_init_x86.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/arch/x86/entrypoints_init_x86.cc b/runtime/arch/x86/entrypoints_init_x86.cc
index a371632..737f4d1 100644
--- a/runtime/arch/x86/entrypoints_init_x86.cc
+++ b/runtime/arch/x86/entrypoints_init_x86.cc
@@ -138,6 +138,9 @@ void InitEntryPoints(InterpreterEntryPoints* ipoints, JniEntryPoints* jpoints,
// Deoptimize
qpoints->pDeoptimize = art_quick_deoptimize_from_compiled_slow_path;
+
+ // Read barrier
+ qpoints->pReadBarrierJni = ReadBarrierJni;
};
} // namespace art