commit | 8dcdd4735bff02673e5a3ec1238b8aff1d217957 | [log] [tgz] |
---|---|---|
author | Lokesh Gidra <lokeshgidra@google.com> | Wed Feb 17 19:30:02 2021 -0800 |
committer | Lokesh Gidra <lokeshgidra@google.com> | Thu Feb 18 17:51:18 2021 +0000 |
tree | 1107ea6e73bc6fce6d23eec0b07b1325cf7b5233 | |
parent | 5de5efef38f52f248d1e1c88fdcf3d211aabe712 [diff] |
Handle Reference-type object in Field_get() By fetching referent from Reference-type object directly (without getReferent()) we run the risk of invoking the read-barrier (and hence pushing an unmarked object to the mark-stack) when the GC doesn't expect that to happen. Bug: 174433134 Test: art/test/testrunner/testrunner.py --host Change-Id: I5ff7598f9f945518db28b86a5f6ed25c39b73d05