OSDN Git Service

Restore obj after RequestConcurrentGC.
authorMathieu Chartier <mathieuc@google.com>
Thu, 6 Mar 2014 23:52:27 +0000 (15:52 -0800)
committerMathieu Chartier <mathieuc@google.com>
Fri, 7 Mar 2014 00:00:46 +0000 (16:00 -0800)
commitf517f1a994fab72ba484bbbac6911e315f59f6cd
tree5dbd368323e6d3ebdf47db4ab7d5bdd7a2a7845f
parentc7a8981098646b4e255d9ede1f3798023bac6e84
Restore obj after RequestConcurrentGC.

RequestConcurrentGC can cause thread suspension, this means that
another thread could transition the heap or cause moving GC.

Bug: 12934910

Change-Id: I5c07161e2e849d7acbdf939f1c24e1ba361a1d6a
runtime/gc/heap-inl.h
runtime/gc/heap.h