Home
last modified time | relevance | path

Searched refs:concurrencyLevel (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleObjectCache.java47 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { in LocaleObjectCache() argument
48 map = new ConcurrentHashMap<>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/
DConcurrentHashMap.annotated.java62 …public ConcurrentHashMap(int initialCapacity, float loadFactor, int concurrencyLevel) { throw new … in ConcurrentHashMap() argument
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java893 float loadFactor, int concurrencyLevel) { in ConcurrentHashMap() argument
894 if (!(loadFactor > 0.0f) || initialCapacity < 0 || concurrencyLevel <= 0) in ConcurrentHashMap()
896 if (initialCapacity < concurrencyLevel) // Use at least as many bins in ConcurrentHashMap()
897 initialCapacity = concurrencyLevel; // as estimated threads in ConcurrentHashMap()