Lines Matching defs:segmentCount
223 // (segmentCount <= maximumSize)
224 // && (concurrencyLevel > maximumSize || segmentCount > concurrencyLevel)
226 int segmentCount = 1;
227 while (segmentCount < concurrencyLevel
228 && (!evictsBySize() || segmentCount * 2 <= maximumSize)) {
230 segmentCount <<= 1;
233 segmentMask = segmentCount - 1;
235 this.segments = newSegmentArray(segmentCount);
237 int segmentCapacity = initialCapacity / segmentCount;
238 if (segmentCapacity * segmentCount < initialCapacity) {
249 int maximumSegmentSize = maximumSize / segmentCount + 1;
250 int remainder = maximumSize % segmentCount;