- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UnsafeAtomicHelper (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
if (isJava8()) { checkHelperVersion(getClass().getClassLoader(), "UnsafeAtomicHelper"); } else { checkHelperVersion(getClass().getClassLoader(), "VarHandleAtomicHelper"); } checkHelperVersion(NO_VAR_HANDLE, "UnsafeAtomicHelper"); checkHelperVersion(NO_UNSAFE, "AtomicReferenceFieldUpdaterAtomicHelper");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
*/ /* * We don't test UnsafeAtomicHelper here, since guava-android doesn't provide a way to use it * under the JVM. (We could arrange for one if we really wanted, but that will break once the * JDK further restricts access to Unsafe.) But we have coverage under an Android emulator, * which uses UnsafeAtomicHelper when it runs AbstractFutureTest itself. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
public class AbstractFutureDefaultAtomicHelperTest extends TestCase { public void testUsingExpectedAtomicHelper() throws Exception { if (isAndroid()) { assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper"); } else { assertThat(AbstractFutureState.atomicHelperTypeForTest()) .isEqualTo("AtomicReferenceFieldUpdaterAtomicHelper"); } } private static boolean isJava8() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 13:08:45 UTC 2025 - 1.8K bytes - Viewed (0)