diff options
author | Alex Light <allight@google.com> | 2019-09-25 13:33:06 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-09-26 19:44:22 +0000 |
commit | b096c918a5f20abb3426f1693435e230f2e07445 (patch) | |
tree | 1ce0b393c1d3d7aefea028c38afcf8b91e24b264 /test/ProfileTestMultiDex | |
parent | 193efa454148afb105567676ef82d1b6844e8f9e (diff) |
Correctly perform read-barriers on cross-thread reg access
For debug workloads we will sometimes read stack registers on other
threads. This generally only happens when the target thread is
suspended due to a running GC and the debugger thread tries to access
stack registers from a compiled method. This could lead to a missed
read-barrier and a From-Space reference being returned. To fix this we
manually perform a read-barrier after pulling the reference out of the
compiled stack.
Test: ./test.py --host
Test: ./art/tools/run-libjdwp-tests.sh --mode=host
Test: ./test.py --host --all-compiler --all-gc -t 1966
Bug: 141590021
Change-Id: I5540c03bfdaecddbc1329ff6c7c58c6f18d6a090
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions