Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AtomicReferenceFieldUpdaterAtomicHelper (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top