diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2017-01-12 15:15:45 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2017-01-13 09:27:53 +0000 |
commit | 0376a5c214e00d1c99fc4a76e70ec368f1d1cd9b (patch) | |
tree | a405f5a7c6cf12926d6c0e31402f65c10ffe5129 /compiler/optimizing/code_generator.cc | |
parent | ca25208049d3d1795d268bb8f9a8a787f4708577 (diff) |
Dont keep around scoped allocated ArtMethod after thread suspension.
Those methods are used after thread suspension, and their eg
declaring class is read. Because the GC does not see these methods,
the declaring class can move and the code will then access a stalled
pointer.
Test: test-art-host, ART_TEST_GC_STRESS=true/false
Test: 690-default-smali
Change-Id: I632197bc51f0da1dcf33b08195e8cfa4ccd73188
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions