File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 28
28
* @modules java.base/jdk.internal.misc
29
29
* java.xml
30
30
* @requires vm.flagless
31
- * @run main/native GTestWrapper --gtest_filter=LockStackTest* -XX:LockingMode=2
31
+ * @run main/native GTestWrapper --gtest_filter=LockStackTest* -XX:+UnlockExperimentalVMOptions -XX: LockingMode=2
32
32
*/
Original file line number Diff line number Diff line change 30
30
* @library /testlibrary /test/lib
31
31
* @build jdk.test.whitebox.WhiteBox
32
32
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
33
- * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xint -XX:LockingMode=2 TestLockStackCapacity
33
+ * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockExperimentalVMOptions -XX:+ UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xint -XX:LockingMode=2 TestLockStackCapacity
34
34
*/
35
35
36
36
import jdk .test .lib .Asserts ;
Original file line number Diff line number Diff line change 132
132
* -XX:+WhiteBoxAPI
133
133
* -Xbatch
134
134
* -XX:+DoEscapeAnalysis -XX:+EliminateAllocations -XX:+EliminateLocks -XX:+EliminateNestedLocks
135
- * -XX:LockingMode=1
135
+ * -XX:+UnlockExperimentalVMOptions -XX: LockingMode=1
136
136
* -XX:DiagnoseSyncOnValueBasedClasses=2
137
137
*
138
138
* @comment Re-lock may inflate monitors when re-locking, which cause monitorinflation trace logging.
144
144
* -XX:+WhiteBoxAPI
145
145
* -Xbatch
146
146
* -XX:+DoEscapeAnalysis -XX:+EliminateAllocations -XX:+EliminateLocks -XX:+EliminateNestedLocks
147
- * -XX:LockingMode=2
147
+ * -XX:+UnlockExperimentalVMOptions -XX: LockingMode=2
148
148
* -Xlog:monitorinflation=trace:file=monitorinflation.log
149
149
*
150
150
* @comment Re-lock may race with deflation.
156
156
* -XX:+WhiteBoxAPI
157
157
* -Xbatch
158
158
* -XX:+DoEscapeAnalysis -XX:+EliminateAllocations -XX:+EliminateLocks -XX:+EliminateNestedLocks
159
- * -XX:LockingMode=0
159
+ * -XX:+UnlockExperimentalVMOptions -XX: LockingMode=0
160
160
* -XX:GuaranteedAsyncDeflationInterval=1000
161
161
*/
162
162
@@ -1999,7 +1999,7 @@ public void warmupDone() {
1999
1999
// Use new lock. lockInflatedByContention might have been inflated because of recursion.
2000
2000
lockInflatedByContention = new XYVal (1 , 1 );
2001
2001
// Start thread that tries to enter lockInflatedByContention while the main thread owns it -> inflation
2002
- DebuggeeWrapper .newThread (() -> {
2002
+ TestScaffold .newThread (() -> {
2003
2003
while (true ) {
2004
2004
synchronized (testCase ) {
2005
2005
try {
You can’t perform that action at this time.
0 commit comments