summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2018-02-07 13:09:55 +0000
committerRoland Levillain <rpl@google.com>2018-02-07 14:27:57 +0000
commitfa854e4834c383daafd240902ecb291ecfdad7b6 (patch)
treeac3d740dc0c7c6e91b286f467c3b111b178822c5 /compiler/optimizing/graph_visualizer.cc
parentbae3065e57e2e82aa29d6207312c5ba38cff7426 (diff)
Visit targets of proxy methods when visiting thread roots.
The target of a non-static proxy method (`this` object), stored in the proxy method's stack frame, needs to be visited as GC root. This is especially important in the case of a moving GC, where the proxy instance may be moved like any object. Fix initially provided by Robert Vollmer. Test: m test-art-host Test: art/test/testrunner/testrunner.py --gcstress -t 1939-proxy-frames Test: art/test/testrunner/testrunner.py --gcstress -t 1914-get-local-instance Bug: 70216372 Bug: 67679263 Change-Id: Iea27a8eba51ccd9c9055efaf6b263892830170b5
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions