Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for contention (0.41 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LongAdder.java

     * sum that is used for purposes such as collecting statistics, not for fine-grained synchronization
     * control. Under low update contention, the two classes have similar characteristics. But under
     * high contention, expected throughput of this class is significantly higher, at the expense of
     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMaker.java

      /**
       * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The
       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. docs/contribute/concurrency.md

    #### Per-Connection Locks
    
    Each connection has its own lock. The connections in the pool are all in a `ConcurrentLinkedQueue`. Due to data races, iterators of this queue may return removed connections. Callers must check the connection's `noNewExchanges` property before using connections from the pool.
    
    The connection lock is never held while doing I/O (even closing a socket) to prevent contention.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

      /**
       * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The
       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Striped.java

     * <i>stripes</i>, increasing the granularity of a single lock and allowing independent operations
     * to lock different stripes and proceed concurrently, instead of creating contention for a single
     * lock.
     *
     * <p>The guarantee provided by this class is that equal keys lead to the same lock (or semaphore),
     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          currentWaiter.unpark();
        }
      }
    
      // Gets and Timed Gets
      //
      // * Be responsive to interruption
      // * Don't create Waiter nodes if you aren't going to park, this helps reduce contention on
      //   waitersField.
      // * Future completion is defined by when #valueField becomes non-null/non DelegatingToFuture
      // * Future completion can be observed if the waitersField field contains a TOMBSTONE
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

        HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB
        of unacknowledged data per stream and no per-connection limit.
    
     *  Fix: Don't operate on a connection after it's been returned to the pool. This race occurred
        on failed web socket connection attempts.
    
     *  Upgrade: [Okio 3.6.0][okio_3_6_0].
    
     *  Upgrade: [Kotlin 1.8.21][kotlin_1_8_21].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          currentWaiter.unpark();
        }
      }
    
      // Gets and Timed Gets
      //
      // * Be responsive to interruption
      // * Don't create Waiter nodes if you aren't going to park, this helps reduce contention on
      //   waitersField.
      // * Future completion is defined by when #valueField becomes non-null/non DelegatingToFuture
      // * Future completion can be observed if the waitersField field contains a TOMBSTONE
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
       * penalty of applying the batches is spread across threads so that the amortized cost is slightly
       * higher than performing just the operation without enforcing the capacity constraint.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top