@Nullable
        public Reference<K, V> getReference(@Nullable Object key, int hash, Restructure restructure) {
            if (restructure == Restructure.WHEN_NECESSARY) {
                restructureIfNecessary(false);
            }
            if (this.count.get() == 0) {
                return null;
            }
            // Use a local copy to protect against other threads writing
            Reference<K, V>[] referenceS = this.references;
            int index = getIndex(hash, referenceS);
            Reference<K, V> head = referenceS[index];
            return findInChain(head, key, hash);
        }
The threshold when resizing of the references should occur. When {@code count}
exceeds this value references will be resized.
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/ConcurrentReferenceHashMap.java