commit | c06c9248ec4f44e4c0402e302404cf09a6c6e330 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Sep 15 13:12:47 2016 -0700 |
committer | Meninblack007 <sanyam.53jain@gmail.com> | Thu Jun 15 18:14:29 2017 +0530 |
tree | 939b3f2b4d13b6d40e2d38ae3c705ede623aa6ec | |
parent | da7a46799ad5d2ff6278eaa8dc1a8655c3d18ca2 [diff] |
Avoid using memcpy for object header in ConcurrentCopying::Copy Memcpy can do per byte copy, this occasionally caused tearing in the lockword when read from the source resulting in incorrect values. Test: test-art-host CC baker Bug: 31423258 Change-Id: I13f856835125a3aa331530fb1f16db45d1955c8a