Home
last modified time | relevance | path

Searched refs:compareAndSet (Results 1 – 13 of 13) sorted by relevance

/art/runtime/mirror/
Dvar_handle_test.cc379 Handle<MethodType> compareAndSet = hs.NewHandle(MethodTypeOf("(Ljava/lang/Integer;II)Z")); in TEST_F() local
394 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kCompareAndSet, compareAndSet)); in TEST_F()
398 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kWeakCompareAndSetPlain, compareAndSet)); in TEST_F()
399 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kWeakCompareAndSet, compareAndSet)); in TEST_F()
400 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kWeakCompareAndSetAcquire, compareAndSet)); in TEST_F()
401 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kWeakCompareAndSetRelease, compareAndSet)); in TEST_F()
517 Handle<MethodType> compareAndSet = hs.NewHandle(MethodTypeOf("(II)Z")); in TEST_F() local
532 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kCompareAndSet, compareAndSet)); in TEST_F()
536 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kWeakCompareAndSetPlain, compareAndSet)); in TEST_F()
537 EXPECT_TRUE(test_mode(VarHandle::AccessMode::kWeakCompareAndSet, compareAndSet)); in TEST_F()
[all …]
/art/test/954-invoke-polymorphic-verifier/
Dexpected.txt15compareAndSet(java.lang.invoke.VarHandle) failed to verify: void VarHandleUnhappyAccessors.compare…
/art/test/954-invoke-polymorphic-verifier/smali/
DVarHandleUnhappyAccessors.smali31 invoke-static {v0}, LVarHandleUnhappyAccessors;->compareAndSet(Ljava/lang/invoke/VarHandle;)V
54 .method public static compareAndSet(Ljava/lang/invoke/VarHandle;)V
57 …invoke-polymorphic {p0, v0}, Ljava/lang/invoke/VarHandle;->compareAndSet(I)Z, ([Ljava/lang/Object;…
DVarHandleHappyAccessors.smali32 …invoke-polymorphic {v0, v1}, Ljava/lang/invoke/VarHandle;->compareAndSet([Ljava/lang/Object;)Z, ([…
/art/test/712-varhandle-invocations/src/
DVarHandleBadCoordinateTests.java47 vh.compareAndSet(new A(), (byte) 0, (byte) 3); in doTest()
48 vh.compareAndSet(new B(), (byte) 0, (byte) 3); in doTest()
50 vh.compareAndSet(new C(), (byte) 0, (byte) 3); in doTest()
55 vh.compareAndSet(0xbad0bad0, (byte) 0, (byte) 3); in doTest()
60 vh.compareAndSet(0xbad0bad0, (byte) 0, Integer.MAX_VALUE); in doTest()
65 vh.compareAndSet(0xbad0bad0, (byte) 0); in doTest()
70 vh.compareAndSet(new A(), (byte) 0, Integer.MAX_VALUE); in doTest()
75 vh.compareAndSet((A) null, (byte) 0, (byte) 3); in doTest()
311 vh.compareAndSet(bytes, i, 767, 321); in doTest()
658 vh.compareAndSet(buffer, i, 767, 321); in doTest()
DVarHandleAccessorExceptionTests.java145 vh.compareAndSet(this, 33, 44); in doTest()
148 updated = (boolean) vh.compareAndSet(this, 44); in doTest()
DVarHandleTypeConversionTests.java42 vh.compareAndSet(this, 33, 44); in doTest()
43 vh.compareAndSet(this, 27, 16); in doTest()
1140 assertEquals(false, (boolean) vh.compareAndSet(this, null, null)); in doTest()
1141 assertEquals(true, vh.compareAndSet(this, Widget.ONE, Widget.TWO)); in doTest()
/art/test/1930-monitor-info/src/art/
DMonitors.java159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
/art/test/1931-monitor-events/src/art/
DMonitors.java159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
/art/test/1933-monitor-current-contended/src/art/
DMonitors.java159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
/art/test/1934-jvmti-signal-thread/src/art/
DMonitors.java159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
/art/test/1932-monitor-events-misc/src/art/
DMonitors.java159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
/art/test/jvmti-common/
DMonitors.java159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()