Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JVMs (0.03 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

              thrownAtomicReferenceFieldUpdaterFailure = atomicReferenceFieldUpdaterFailure;
              helper = new SynchronizedHelper();
            }
          }
        } else {
          /*
           * We avoid Unsafe, since newer JVMs produce warnings or even errors for attempts to use it.
           *
           * In guava-jre, we avoid Unsafe by using VarHandle instead. But if we have references to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * are used from Java 9 or higher (i.e., high enough to trigger the VarHandle code path), such a
       * lookup would fail with an IllegalAccessException. That may then trigger use of Unsafe (possibly
       * with a warning under recent JVMs), or it may fall back even further to
       * AtomicReferenceFieldUpdaterAtomicHelper, which would fail with a similar problem to
       * VarHandleAtomicHelperMaker, forcing us all the way to SynchronizedHelper.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      // safely publish these objects and we won't need this whole discussion.
      // TODO(user,lukes): consider adding volatile to all these fields since in current known JVMs
      // that should resolve the issue. This comes at the cost of adding more write barriers to the
      // implementations.
    
      private Futures() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top