Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MapIteratorCache (0.2 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * The real purpose of this test is to produce a TSAN failure if MapIteratorCache is unsafe for
         * reads from multiple threads -- unsafe, in fact, even in the absence of a concurrent write.
         * The specific problem we had was unsafe reads of lastEntryReturnedBySomeIterator. (To fix the
         * problem, we've since marked that field as volatile.)
         *
         * When MapIteratorCache is used from Immutable* classes, the TSAN failure doesn't indicate a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top