summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-07-26 08:28:36 -0700
committerAlex Light <allight@google.com>2018-07-26 11:33:25 -0700
commitc98f83e301451cb7a62aab21a7dfcddc8eb17c42 (patch)
tree18d0477a315cf35352e4c44b3a66ce5d185a5fc4 /compiler/optimizing/codegen_test_utils.h
parentf5dcd31d89282b6c9324fdc960e6e7e2281c16f1 (diff)
Add raw_monitor_enter_no_suspend extension
In some circumstances it is useful to be able to lock a jvmti-monitor without having to worry about the suspension state of the current thread. This adds an extension com.android.art.concurrent.raw_monitor_enter_no_suspend that allows one to do that. This function will gain the monitor lock and return even if the current thread is suspended. The normal RawMonitorLock will not return unless the thread is not in a suspended state. Test: ./test.py --host Bug: 76205593 Change-Id: I9d9fcd586d1d2555f4adc8ac85597daa3dfcb0c4
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions