commit | 51eaa7f5547f9ddea92ce57c6c2df9534d5017b8 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Oct 12 16:08:35 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Oct 12 17:07:04 2016 -0700 |
tree | 43456ed702c2ee5fe6ca1cbf7e9e53b2a4088109 | |
parent | c2f1fc70dba4db8751248c4ad15315946f6d13d0 [diff] |
Fix moving GC bug in cloning finalizable objects It is not safe to have thread suspension in the PreFenceVisitor. The fix is to add the finalizer reference in the caller. Test: art/tools/run-libcore-tests.sh '--mode=host' '--variant=X32' --debug Bug: 31113334 Change-Id: I1e4650f8b75408a3d07e2c51ac334ff98552cfb5