public synchronized int getRefCountTestOnly() {
    return mRefCount;
  }
A test-only method to get the ref count DO NOT USE in regular code
fbcore/src/main/java/com/facebook/common/references/SharedReference.java