diff options
author | Alex Light <allight@google.com> | 2018-01-04 11:51:14 -0800 |
---|---|---|
committer | Alex Light <allight@google.com> | 2018-01-04 18:20:16 -0800 |
commit | 4d77dafb032e6e14ce619842dec70862172dbaee (patch) | |
tree | 0636a9e023c87d135800a32453093e6331caead0 /compiler/driver/compiler_driver_test.cc | |
parent | b6f3464a934910e84e9a76e9f453bec71bffed5c (diff) |
Correct behavior of thread suspension around Raw monitors
The interaction between raw monitors and thread suspension was
different than some real-world agents expected. Real-world agents rely
on the RawMonitorWait function acting as a suspend point.
Changed the raw-monitor implementation to match this behavior.
Add tests for this behavior and for the behavior of RawMonitorExit
(which does not act as a suspend point).
Bug: 66904725
Bug: 62821960
Test: ./test.py --host -j50
Test: ./art/tools/run-libjdwp-tests.sh --mode=host
Change-Id: Ibaed6a7e6910b7b612f0fb1313958857fbe54595
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions