diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-04-02 17:09:17 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-04-02 17:48:05 -0700 |
commit | 7c95cefc168ba81b17a9ed2d987ac5bcf0b05781 (patch) | |
tree | f358d12353183bb5800e91f459a158a514039a09 /compiler/compilers.cc | |
parent | 0807e7bbbafc4b4e8e7fb1d2d54fbcb011c05c82 (diff) | |
download | android_art-7c95cefc168ba81b17a9ed2d987ac5bcf0b05781.tar.gz android_art-7c95cefc168ba81b17a9ed2d987ac5bcf0b05781.tar.bz2 android_art-7c95cefc168ba81b17a9ed2d987ac5bcf0b05781.zip |
Use temp register in Unsafe Get/Put intrisics for displaced offset.
Previously, the object register would get clobberd by the adding the
offset for wide UnsafeGets and wide UnsafePuts. This resulted in heap
corruption in AtomicLongFieldUpdater.compareAndSet and possibly other
places.
Bug: 13744490
Change-Id: Ic368d930b855c5c57e22060b32b73d0745328ef2
Diffstat (limited to 'compiler/compilers.cc')
0 files changed, 0 insertions, 0 deletions