diff options
author | Alex Light <allight@google.com> | 2017-07-18 15:34:21 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-07-19 08:35:34 -0700 |
commit | 79400aa5124f89daec47d3cf7c6c38030547a770 (patch) | |
tree | 280b6f2c77ce4a76bd8f196579499064fc19d711 /compiler/driver/compiler_driver_test.cc | |
parent | 527f18fcebb8f5799bad483b8164fe35ce3688f2 (diff) |
Whitelist user_code_suspension_lock_ for ConditionVariable wait
ConditionVariable::Wait checks to make sure the current lock status is
sane. We need to whitelist the user_code_suspension_lock_ for being
held through the wait when it is a threads resume_cond_ since this
lock needs to be held through the entirety of user-code suspension.
We also add a check to make sure the thread will not deadlock.
Bug: 63813338
Test: stress --cpu 64 & \
while ./test/run-test --host --jit 1904; do; done
Change-Id: I24577b66629279106de328aad1afd191725c94fb
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions