diff options
| author | Andy McFadden <fadden@android.com> | 2010-08-18 15:51:37 -0700 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2010-08-20 14:35:47 -0700 |
| commit | f16cfefc199d1416c5f83446c1d299786accc737 (patch) | |
| tree | b8a9a878dc343302e2f9a0165f7db8e48d20618b /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | 30febfdf4abe39f99dec100de968cb831b555b27 (diff) | |
Properly handle volatile field accesses from JNI.
For uniprocessors, we need to use the 64-bit quasiatomic functions. For
SMP, we need to do that and also issue barriers on all operations.
This was mostly a matter of adding a bunch of inline getter/setter
functions and then calling the right one based on whether or not the
field is declared volatile.
Also, corrected the output for a failing CHECK_CLASS test in CheckJNI.
Bug 2890631.
(cherry-pick from dalvik-dev)
Change-Id: I3da3b70c906eddd5934347caea83ab041d22cd68
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions
