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
13 files changed