aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenCommon.c
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-09-10 15:36:16 -0700
committerAndy McFadden <fadden@android.com>2010-09-10 16:46:08 -0700
commit060f9a6f626edfbb3ca1af632de69c6c87b392b0 (patch)
treea237017b31a8554fad5de3fe7e2c1b222e46f536 /vm/compiler/codegen/arm/CodegenCommon.c
parent291758c5c4902900c6f86794ba8ab9cad9b26197 (diff)
Added a barrier to final field updates.
When deserializing an object, code can write to final fields. The JMM requires that we give final fields written this way the same treatment as we would final fields written directly in a constructor. This adds memory barriers to the two reflection field-set handlers when the field in question is marked "final". Also, added a final field update to test 046. Bug 2965743. Change-Id: I5ea3cb49e04d932a655740058b847dcb8712e041
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenCommon.c')
0 files changed, 0 insertions, 0 deletions