commit | d818adbd958219655cee380a3a1f6049d78bbcde | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Sep 15 13:12:47 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Sep 15 14:52:41 2016 -0700 |
tree | da86923519a5b8ae9727fe3b8755b14254ae0e4c | |
parent | 6b4d988feb18559204f7175914851baf28febd8c [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