Lines Matching defs:threshold
140 * The table is rehashed when its size exceeds this threshold. (The
145 private int threshold;
167 * The default threshold of map capacity above which alternative hashing is
172 * {@code jdk.map.althashing.threshold}. A property value of {@code 1}
191 "jdk.map.althashing.threshold"));
193 int threshold;
195 threshold = (null != altThreshold)
200 if (threshold == -1) {
201 threshold = Integer.MAX_VALUE;
204 if (threshold < 0) {
208 throw new Error("Illegal value for 'jdk.map.althashing.threshold'", failed);
211 ALTERNATIVE_HASHING_THRESHOLD = threshold;
262 threshold = (int)Math.min(initialCapacity * loadFactor, MAX_ARRAY_SIZE + 1);
474 threshold = (int)Math.min(newCapacity * loadFactor, MAX_ARRAY_SIZE + 1);
530 if (count >= threshold) {
531 // Rehash the table if the threshold is exceeded
938 // Write out the length, threshold, loadfactor
971 // Read in the length, threshold, and loadfactor
989 threshold = (int) Math.min(length * loadFactor, MAX_ARRAY_SIZE + 1);