Searched refs:INITIAL_CAPACITY (Results 1 - 10 of 10) sorted by relevance

/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/corba/
H A DContextListImpl.java41 private final int INITIAL_CAPACITY = 2; field in class:ContextListImpl
51 _contexts = new Vector(INITIAL_CAPACITY, CAPACITY_INCREMENT);
H A DExceptionListImpl.java44 private final int INITIAL_CAPACITY = 2; field in class:ExceptionListImpl
50 _exceptions = new Vector(INITIAL_CAPACITY, CAPACITY_INCREMENT);
H A DNVListImpl.java45 private final int INITIAL_CAPACITY = 4; field in class:NVListImpl
55 _namedValues = new Vector(INITIAL_CAPACITY, CAPACITY_INCREMENT);
/openjdk9/jdk/test/java/util/HashMap/
H A DPutNullKey.java38 static final int INITIAL_CAPACITY = 64; field in class:PutNullKey
82 Map<Object,Object> m = new HashMap<>(INITIAL_CAPACITY, LOAD_FACTOR);
/openjdk9/jdk/test/java/util/Map/
H A DMapBinToFromTreeTest.java51 static final int INITIAL_CAPACITY = 64; field in class:MapBinToFromTreeTest
55 // Should be > INITIAL_CAPACITY to ensure resize occurs
67 { HashMap.class.getName(), new HashMap(INITIAL_CAPACITY, LOAD_FACTOR) },
68 { LinkedHashMap.class.getName(), new LinkedHashMap(INITIAL_CAPACITY, LOAD_FACTOR) },
69 { ConcurrentHashMap.class.getName(), new ConcurrentHashMap(INITIAL_CAPACITY, LOAD_FACTOR) },
125 put(INITIAL_CAPACITY, m, (i, s) -> { });
127 for (int i = INITIAL_CAPACITY; i < SIZE; i++) {
133 for (int j = 0; j < INITIAL_CAPACITY; j++) {
135 String.format("Map.get(%d) < INITIAL_CAPACITY", j));
137 for (int j = INITIAL_CAPACITY;
[all...]
/openjdk9/hotspot/src/share/vm/gc/shared/
H A DgcTimer.hpp98 static const int INITIAL_CAPACITY = 10; member in class:TimePartitions
H A DgcTimer.cpp116 _phases = new (ResourceObj::C_HEAP, mtGC) GrowableArray<GCPhase>(INITIAL_CAPACITY, true, mtGC);
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DThreadLocal.java321 private static final int INITIAL_CAPACITY = 16; field in class:ThreadLocal.ThreadLocalMap
366 table = new Entry[INITIAL_CAPACITY];
367 int i = firstKey.threadLocalHashCode & (INITIAL_CAPACITY - 1);
370 setThreshold(INITIAL_CAPACITY);
/openjdk9/jdk/src/java.base/share/classes/java/text/
H A DAttributedString.java58 private static final int INITIAL_CAPACITY = 10; field in class:AttributedString
416 int[] newRunStarts = new int[INITIAL_CAPACITY];
419 Vector<Attribute>[] newRunAttributes = (Vector<Attribute>[]) new Vector<?>[INITIAL_CAPACITY];
422 Vector<Object>[] newRunAttributeValues = (Vector<Object>[]) new Vector<?>[INITIAL_CAPACITY];
/openjdk9/jdk/src/java.base/share/classes/java/util/concurrent/
H A DScheduledThreadPoolExecutor.java874 private static final int INITIAL_CAPACITY = 16; field in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
876 new RunnableScheduledFuture<?>[INITIAL_CAPACITY];

Completed in 270 milliseconds