@@ -187,47 +187,53 @@ void runControlFlowTests() {
187
187
}
188
188
189
189
@ Test
190
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
190
+ // TODO: 8353182
191
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
191
192
static void testAllocateThenAtomic (Inner i ) {
192
193
Outer o = new Outer ();
193
194
Common .blackhole (o );
194
195
Common .field1VarHandle .getAndSet (o , i );
195
196
}
196
197
197
198
@ Test
198
- // TODO 8329234
199
- // @IR(counts = { IRNode.Z_LOAD_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
200
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
199
+ // TODO: 8329234
200
+ //@IR(counts = { IRNode.Z_LOAD_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
201
+ // TODO: 8353182
202
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
201
203
static void testLoadThenAtomic (Outer o , Inner i ) {
202
204
Common .blackhole (o .field1 );
203
205
Common .field1VarHandle .getAndSet (o , i );
204
206
}
205
207
206
208
@ Test
207
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "2" }, phase = CompilePhase .FINAL_CODE )
209
+ // TODO: 8353182
210
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "2" }, phase = CompilePhase.FINAL_CODE)
208
211
static void testAtomicThenAtomicAnotherField (Outer o , Inner i ) {
209
212
Common .field1VarHandle .getAndSet (o , i );
210
213
Common .field2VarHandle .getAndSet (o , i );
211
214
}
212
215
213
216
@ Test
214
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
217
+ // TODO: 8353182
218
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
215
219
static void testAllocateArrayThenAtomicAtKnownIndex (Outer o ) {
216
220
Outer [] a = new Outer [42 ];
217
221
Common .blackhole (a );
218
222
Common .outerArrayVarHandle .getAndSet (a , 2 , o );
219
223
}
220
224
221
225
@ Test
222
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
226
+ // TODO: 8353182
227
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
223
228
static void testAllocateArrayThenAtomicAtUnknownIndex (Outer o , int index ) {
224
229
Outer [] a = new Outer [42 ];
225
230
Common .blackhole (a );
226
231
Common .outerArrayVarHandle .getAndSet (a , index , o );
227
232
}
228
233
229
234
@ Test
230
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "2" }, phase = CompilePhase .FINAL_CODE )
235
+ // TODO: 8353182
236
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "2" }, phase = CompilePhase.FINAL_CODE)
231
237
static void testArrayAtomicThenAtomicAtUnknownIndices (Outer [] a , Outer o , int index1 , int index2 ) {
232
238
Common .outerArrayVarHandle .getAndSet (a , index1 , o );
233
239
Common .outerArrayVarHandle .getAndSet (a , index2 , o );
@@ -388,39 +394,44 @@ void runControlFlowTests() {
388
394
389
395
@ Test
390
396
@ IR (counts = { IRNode .Z_STORE_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
391
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .ELIDED , "1" }, phase = CompilePhase .FINAL_CODE )
397
+ // TODO: 8353182
398
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.ELIDED, "1" }, phase = CompilePhase.FINAL_CODE)
392
399
static void testStoreThenAtomic (Outer o , Inner i ) {
393
400
o .field1 = i ;
394
401
Common .field1VarHandle .getAndSet (o , i );
395
402
}
396
403
397
404
@ Test
398
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
405
+ // TODO: 8353182
406
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
399
407
@ IR (counts = { IRNode .Z_LOAD_P_WITH_BARRIER_FLAG , Common .ELIDED , "1" }, phase = CompilePhase .FINAL_CODE )
400
408
static void testAtomicThenLoad (Outer o , Inner i ) {
401
409
Common .field1VarHandle .getAndSet (o , i );
402
410
Common .blackhole (o .field1 );
403
411
}
404
412
405
413
@ Test
406
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
414
+ // TODO: 8353182
415
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
407
416
@ IR (counts = { IRNode .Z_STORE_P_WITH_BARRIER_FLAG , Common .ELIDED , "1" }, phase = CompilePhase .FINAL_CODE )
408
417
static void testAtomicThenStore (Outer o , Inner i ) {
409
418
Common .field1VarHandle .getAndSet (o , i );
410
419
o .field1 = i ;
411
420
}
412
421
413
422
@ Test
414
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
415
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .ELIDED , "1" }, phase = CompilePhase .FINAL_CODE )
423
+ // TODO: 8353182
424
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
425
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.ELIDED, "1" }, phase = CompilePhase.FINAL_CODE)
416
426
static void testAtomicThenAtomic (Outer o , Inner i ) {
417
427
Common .field1VarHandle .getAndSet (o , i );
418
428
Common .field1VarHandle .getAndSet (o , i );
419
429
}
420
430
421
431
@ Test
422
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .REMAINING , "1" }, phase = CompilePhase .FINAL_CODE )
423
- @ IR (counts = { IRNode .Z_GET_AND_SET_P_WITH_BARRIER_FLAG , Common .ELIDED , "1" }, phase = CompilePhase .FINAL_CODE )
432
+ // TODO: 8353182
433
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.REMAINING, "1" }, phase = CompilePhase.FINAL_CODE)
434
+ //@IR(counts = { IRNode.Z_GET_AND_SET_P_WITH_BARRIER_FLAG, Common.ELIDED, "1" }, phase = CompilePhase.FINAL_CODE)
424
435
static void testArrayAtomicThenAtomic (Outer [] a , Outer o ) {
425
436
Common .outerArrayVarHandle .getAndSet (a , 0 , o );
426
437
Common .outerArrayVarHandle .getAndSet (a , 0 , o );
0 commit comments