Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testStrongImplementations (0.31 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        readLock.lock();
        assertFalse(writeLock.tryLock());
        readLock.unlock();
      }
    
      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
      public void testStrongImplementations() {
        for (Striped<?> striped : strongImplementations()) {
          WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));
          WeakReference<Object> garbage = new WeakReference<>(new Object());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        readLock.lock();
        assertFalse(writeLock.tryLock());
        readLock.unlock();
      }
    
      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
      public void testStrongImplementations() {
        for (Striped<?> striped : strongImplementations()) {
          WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));
          WeakReference<Object> garbage = new WeakReference<>(new Object());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top