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
diff --git a/test/knownfailures.json b/test/knownfailures.json
index 065706c..ce4ebd7 100644
--- a/test/knownfailures.json
+++ b/test/knownfailures.json
@@ -968,7 +968,8 @@
"677-fsi2",
"678-quickening",
"679-locks",
- "999-redefine-hiddenapi"],
+ "999-redefine-hiddenapi",
+ "1951-monitor-enter-no-suspend"],
"variant": "jvm",
"description": ["Doesn't run on RI."]
},