- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for runSafely (0.09 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
* real problem: The Entry objects are ImmutableMap entries, whose fields are all final and thus * safe to read even when the Entry object is unsafely published. But with a mutable graph, the * Entry object is likely to have a non-final value field, which is not safe to read when * unsafely published. (The Entry object might even be newly created by each iterator.next()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
new AtomicReference<>(immediateVoidFuture()); @LazyInit private ThreadConfinedTaskQueue latestTaskQueue = new ThreadConfinedTaskQueue(); /** * This object is unsafely published, but avoids problematic races by relying exclusively on the * identity equality of its Thread field so that the task field is only accessed by a single * thread. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0)