commit | 7c95cefc168ba81b17a9ed2d987ac5bcf0b05781 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Apr 02 17:09:17 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Apr 02 17:48:05 2014 -0700 |
tree | f358d12353183bb5800e91f459a158a514039a09 | |
parent | 0807e7bbbafc4b4e8e7fb1d2d54fbcb011c05c82 [diff] |
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