Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for tombstones (0.04 seconds)

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

              }
              oldHead = waitersField; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read valueField, if we get here then we must have observed a TOMBSTONE while trying to
          // add a waiter.
          // requireNonNull is safe because valueField is always set before TOMBSTONE.
          return getDoneValue(requireNonNull(valueField));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        }
      }
    
      /** Listeners form a Treiber stack through the {@link #listeners} field. */
      static final class Listener {
        static final Listener TOMBSTONE = new Listener();
        // null only for TOMBSTONE
        final @Nullable Runnable task;
        // null only for TOMBSTONE
        final @Nullable Executor executor;
    
        // writes to next are made visible by subsequent CAS's on the listeners field
        @Nullable Listener next;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      void setUp() throws Exception {
        if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) {
          throw new SkipThisScenarioException();
        }
      }
    
      // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look
      // larger than they are.
      @SuppressWarnings("FutureReturnValueIgnored")
      @Footprint(exclude = {Runnable.class, Executor.class, Thread.class, Exception.class})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top