OSDN Git Service

Only visit pointer arrays once during image relocation
authorMathieu Chartier <mathieuc@google.com>
Wed, 17 Feb 2016 01:16:01 +0000 (17:16 -0800)
committerMathieu Chartier <mathieuc@google.com>
Wed, 17 Feb 2016 18:41:58 +0000 (10:41 -0800)
commit91edc62a9d8d4d8153b6b04140b50a3724cd3597
tree68119104a334430916a4b9c0c1c938ecb0f6a06f
parentf0b04803ec4cdd8d76aadb6f02ae2511c46b20b5
Only visit pointer arrays once during image relocation

Previously they could get visited twice, this caused corruption of
the app image if a pointer was updated twice.

Bug: 22858531
Change-Id: I1f1ba1ba5dc205be07dba51bc6ce7a825c82b33a
runtime/gc/space/image_space.cc