commit | 81058aaf92c188cc20273edd0275329fc304aca2 | [log] [tgz] |
---|---|---|
author | Dan Bornstein <danfuzz@android.com> | Thu Jan 27 11:38:37 2011 -0800 |
committer | Dan Bornstein <danfuzz@android.com> | Thu Jan 27 14:17:58 2011 -0800 |
tree | d87a7efd683aa1074f5338741ad93ee2b450dca6 | |
parent | 6ad1992b311937963d44be68f3ec0255a87d82b8 [diff] |
Use bcopy() to move object refs around within an array. DO NOT MERGE. bcopy() guarantees that pointer-size words are stored atomically, and so this prevents the gc from seeing a pointer in mid-change. Bug: 3399673 Change-Id: Ic7d795e5d397548e9d6d8c11a585d86838cf8a44