- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for SynchronizedHelper (0.08 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
*/ checkHelperVersion(NO_UNSAFE, "AtomicReferenceFieldUpdaterAtomicHelper"); /* * SynchronizedHelper is meant for Android, but our best way to test it is under the JVM. * * SynchronizedHelper also ends up getting used under the JVM during * AggregateFutureStateFallbackAtomicHelperTest, as discussed in a comment in * AggregateFutureState. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
// will be a definite performance hit to those users. thrownAtomicReferenceFieldUpdaterFailure = atomicReferenceFieldUpdaterFailure; helper = new SynchronizedHelper(); } } } else { /* * We avoid Unsafe, since newer JVMs produce warnings or even errors for attempts to use it. *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) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* and performant but introduces some testing difficulties. This test exercises the two fallback * strategies. * * <ul> * <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization * <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization * </ul> * * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* and performant but introduces some testing difficulties. This test exercises the two fallback * strategies. * * <ul> * <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization * <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization * </ul> * * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
} checkHelperVersion(NO_VAR_HANDLE, "UnsafeAtomicHelper"); checkHelperVersion(NO_UNSAFE, "AtomicReferenceFieldUpdaterAtomicHelper"); checkHelperVersion(NO_ATOMIC_REFERENCE_FIELD_UPDATER, "SynchronizedHelper"); // Then, run the actual tests under each alternative classloader: /* * Under Java 8, there is no need to test the no-VarHandle case here: It's already tested by theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 7.4K bytes - Click Count (0)