- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AtomicReferenceFieldUpdaterAtomicHelper (0.74 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
thrownUnsafeFailure = unsafeFailure; // Catch absolutely everything and fall through to AtomicReferenceFieldUpdaterAtomicHelper. try { helper = new AtomicReferenceFieldUpdaterAtomicHelper(); } catch (Exception // sneaky checked exception | Error atomicReferenceFieldUpdaterFailure) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
*/ // First, ensure that our classloaders are initializing the correct helper versions: checkHelperVersion(getClass().getClassLoader(), "AtomicReferenceFieldUpdaterAtomicHelper"); /* * Since we use AtomicReferenceFieldUpdaterAtomicHelper by default, we'll "obviously" use it * even when Unsafe isn't available. But it's nice to have a check here to make sure that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
thrownUnsafeFailure = unsafeFailure; // Catch absolutely everything and fall through to AtomicReferenceFieldUpdaterAtomicHelper. try { helper = new AtomicReferenceFieldUpdaterAtomicHelper(); } catch (Exception // sneaky checked exception | Error atomicReferenceFieldUpdaterFailure) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
/** * This classloader disallows {@link java.lang.invoke.VarHandle}, {@link sun.misc.Unsafe} and * {@link AtomicReferenceFieldUpdater}, which will prevent us from selecting the {@code * AtomicReferenceFieldUpdaterAtomicHelper} strategy. */ private static final ClassLoader NO_ATOMIC_REFERENCE_FIELD_UPDATER = getClassLoader( ImmutableSet.of( "java.lang.invoke.VarHandle",
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/AbstractFutureDefaultAtomicHelperTest.java
assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper"); } else { assertThat(AbstractFutureState.atomicHelperTypeForTest()) .isEqualTo("AtomicReferenceFieldUpdaterAtomicHelper"); } } private static boolean isJava8() { return JAVA_SPECIFICATION_VERSION.value().equals("1.8"); } private static boolean isAndroid() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 13:08:45 UTC 2025 - 1.8K bytes - Viewed (0)