Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AtomicReferenceFieldUpdater (0.08 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

             * Breaking AtomicReferenceFieldUpdater not only forces AggregateFutureState to fall back to
             * another implementation but also forces AbstractFutureState to be able to do the
             * same—hence the try-catch here.
             *
             * (Really, we're fortunate that breaking AtomicReferenceFieldUpdater doesn't break _even
             * more_ things.)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          return "UnsafeAtomicHelper";
        }
      }
    
      /** {@link AtomicHelper} based on {@link AtomicReferenceFieldUpdater}. */
      private static final class AtomicReferenceFieldUpdaterAtomicHelper extends AtomicHelper {
        private static final AtomicReferenceFieldUpdater<Waiter, @Nullable Thread> waiterThreadUpdater =
            AtomicReferenceFieldUpdater.<Waiter, @Nullable Thread>newUpdater(
                Waiter.class, Thread.class, "thread");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

    import static java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.j2objc.annotations.ReflectionSupport;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import java.util.logging.Level;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference
    // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances
    // and DONE/INTERRUPTED - they have a common ancestor of Runnable.
    abstract class InterruptibleTask<T extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top