Commit ea668645 authored by Sebastien Hertz's avatar Sebastien Hertz
Browse files

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

(cherry picked from commit e2d628b5)

Change-Id: I4fdff54053aa947765a39adf67345b08816387e5
parent 74dc0bee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment