commit | e2d628b5b0a1b9c29c173f3cbad3ef6cb6c24d2d | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Thu Oct 23 15:39:33 2014 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Thu Oct 23 16:31:58 2014 +0200 |
tree | b1fa6ef18e26a5bad38dde6735b673a54194a6e8 | |
parent | 8fc5acfd382bdc0d7920e8a13439b64344a8988a [diff] |
Make ObjectRegistry::InternalAdd GC safe Because a call to IdentityHashCode may cause GC, the object pointer may become invalid (if the object has been moved) on next uses. We now access the object through a Handle to be GC safe. Also remove unused methods. Bug: 18098424 Change-Id: I38fb55c3a6be62c4d98d4c94272a9cfeba327598