Searched defs:capacity (Results 26 - 50 of 84) sorted by relevance

1234

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DHeapSummary.java110 g1h.used(), g1h.capacity());
131 long oldFree = oldGen.capacity() - oldGen.used();
133 printValMB("capacity = ", oldGen.capacity());
136 System.out.println(alignment + (double)oldGen.used() * 100.0 / oldGen.capacity() + "% used");
139 long permFree = permGen.capacity() - permGen.used();
141 printValMB("capacity = ", permGen.capacity());
144 System.out.println(alignment + (double)permGen.used() * 100.0 / permGen.capacity() + "% used");
206 printValMB("capacity
229 printG1Space(String spaceName, long regionNum, long used, long capacity) argument
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DStringBuilder.java58 * Every string builder has a capacity. As long as the length of the
60 * the capacity, it is not necessary to allocate a new internal
82 * initial capacity of 16 characters.
90 * initial capacity specified by the <code>capacity</code> argument.
92 * @param capacity the initial capacity.
93 * @throws NegativeArraySizeException if the <code>capacity</code>
96 public StringBuilder(int capacity) { argument
97 super(capacity);
[all...]
H A DAbstractStringBuilder.java61 * Creates an AbstractStringBuilder of the specified capacity.
63 AbstractStringBuilder(int capacity) { argument
64 value = new char[capacity];
78 * Returns the current capacity. The capacity is the amount of storage
82 * @return the current capacity
84 public int capacity() { method in class:AbstractStringBuilder
89 * Ensures that the capacity is at least equal to the specified minimum.
90 * If the current capacity is less than the argument, then a new internal
91 * array is allocated with greater capacity
[all...]
H A DStringBuffer.java66 * Every string buffer has a capacity. As long as the length of the
68 * the capacity, it is not necessary to allocate a new internal
93 * initial capacity of 16 characters.
101 * the specified initial capacity.
103 * @param capacity the initial capacity.
104 * @exception NegativeArraySizeException if the <code>capacity</code>
107 public StringBuffer(int capacity) { argument
108 super(capacity);
113 * specified string. The initial capacity o
147 public synchronized int capacity() { method in class:StringBuffer
[all...]
/openjdk7/jdk/src/share/classes/java/nio/
H A DBuffer.java34 * buffer are its capacity, limit, and position: </p>
38 * <p> A buffer's <i>capacity</i> is the number of elements it contains. The
39 * capacity of a buffer is never negative and never changes. </p>
43 * greater than its capacity. </p>
94 * capacity values:
101 * <i>capacity</i>
113 * <p> In addition to methods for accessing the position, limit, and capacity
121 * capacity and the position to zero. </p></li>
176 // Invariants: mark <= position <= limit <= capacity
180 private int capacity; field in class:Buffer
208 public final int capacity() { method in class:Buffer
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DcodeCache.hpp168 static size_t capacity() { return _heap->capacity(); } function in class:CodeCache
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsPromotionLAB.hpp87 size_t capacity() const { return byte_size(bottom(), end()); } function in class:PSPromotionLAB
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DFixedList.java47 protected FixedList(int capacity) { argument
48 flist = new ArrayList<>(capacity);
50 for (int i = 0 ; i < capacity ; i++) {
/openjdk7/jdk/test/java/util/zip/
H A DInflaterBufferSize.java57 private static byte[] grow(byte[] a, int capacity) { argument
58 while (a.length < capacity) {
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderBuffer.java72 protected final int capacity; field in class:RenderBuffer
78 capacity = numBytes;
100 public final int capacity() { method in class:RenderBuffer
101 return capacity;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DGeneration.java150 public abstract long capacity(); method in class:Generation
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListModel.java105 * Trims the capacity of this list to be the list's current size.
114 * Increases the capacity of this list, if necessary, to ensure
116 * the minimum capacity argument.
118 * @param minCapacity the desired minimum capacity
143 * Returns the current capacity of this list.
145 * @return the current capacity
146 * @see Vector#capacity()
148 public int capacity() { method in class:DefaultListModel
149 return delegate.capacity();
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DArrayBlockingQueue.java51 * extracted by consumers. Once created, the capacity cannot be
204 * capacity and default access policy.
206 * @param capacity the capacity of this queue
207 * @throws IllegalArgumentException if {@code capacity < 1}
209 public ArrayBlockingQueue(int capacity) { argument
210 this(capacity, false);
215 * capacity and the specified access policy.
217 * @param capacity the capacity o
223 ArrayBlockingQueue(int capacity, boolean fair) argument
248 ArrayBlockingQueue(int capacity, boolean fair, Collection<? extends E> c) argument
[all...]
H A DLinkedBlockingQueue.java59 * <p> The optional capacity bound constructor argument serves as a
60 * way to prevent excessive queue expansion. The capacity, if unspecified,
63 * queue above capacity.
134 /** The capacity bound, or Integer.MAX_VALUE if none */
135 private final int capacity; field in class:LinkedBlockingQueue
244 * Creates a {@code LinkedBlockingQueue} with a capacity of
252 * Creates a {@code LinkedBlockingQueue} with the given (fixed) capacity.
254 * @param capacity the capacity of this queue
255 * @throws IllegalArgumentException if {@code capacity} i
258 LinkedBlockingQueue(int capacity) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dfilemap.cpp213 space->capacity(), read_only, false);
220 size_t capacity, bool read_only,
235 si->_capacity = capacity;
307 si->_capacity != space->capacity()) {
219 write_region(int region, char* base, size_t size, size_t capacity, bool read_only, bool allow_exec) argument
H A Dheap.cpp299 // Returns current capacity
300 size_t CodeHeap::capacity() const { function in class:CodeHeap
H A DsharedHeap.cpp312 size_t capacity) {
318 byte_size_in_proper_unit(capacity),
319 proper_unit_for_byte_size(capacity));
309 print_size_transition(outputStream* out, size_t bytes_before, size_t bytes_after, size_t capacity) argument
H A DthreadLocalAllocBuffer.cpp74 size_t capacity = Universe::heap()->tlab_capacity(myThread()) / HeapWordSize; local
76 size_t used = capacity - unused;
79 bool update_allocation_history = used > 0.5 * capacity;
212 size_t capacity = Universe::heap()->tlab_capacity(myThread()) / HeapWordSize; local
213 double alloc_frac = desired_size() * target_refills() / (double) capacity;
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelByteBuffer.java60 left = capacity();
199 out.write(array(), (int) arrayOffset(), (int) capacity());
212 (int)arrayOffset(), (int)capacity());
216 return subbuffer(beginIndex, capacity());
238 public long capacity() { method in class:ModelByteBuffer
274 byte[] buffer = new byte[(int) mbuff.capacity()];
311 buffer = new byte[(int) capacity()];
/openjdk7/hotspot/src/share/tools/launcher/
H A Dwildcard.c226 int capacity; member in struct:FileList_
231 FileList_new(int capacity) argument
234 fl->capacity = capacity;
235 fl->files = (char **) JLI_MemAlloc(capacity * sizeof(fl->files[0]));
269 FileList_ensureCapacity(FileList fl, int capacity) argument
271 if (fl->capacity < capacity) {
272 while (fl->capacity < capacity)
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DNativeBuffer.java39 public NativeBuffer(final int capacity){ argument
40 this(ByteBuffer.allocateDirect(capacity));
70 public int capacity() { return buffer.capacity(); } method in class:NativeBuffer
103 * bufferPtr <= ptr && ptr < bufferPtr + capacity();
106 return bufferPtr <= ptr && ptr < bufferPtr + capacity();
/openjdk7/jdk/src/share/bin/
H A Dwildcard.c226 int capacity; member in struct:FileList_
231 FileList_new(int capacity) argument
234 fl->capacity = capacity;
235 fl->files = (char **) JLI_MemAlloc(capacity * sizeof(fl->files[0]));
257 FileList_ensureCapacity(FileList fl, int capacity) argument
259 if (fl->capacity < capacity) {
260 while (fl->capacity < capacity)
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DperfMemory.hpp137 static size_t capacity() { return _capacity; } function in class:PerfMemory
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/util/
H A DPrefixArray.java129 private final void increaseNamespacePool(int capacity) { argument
134 for (int i = 0; i < capacity; i++) {
141 private final void increasePrefixPool(int capacity) { argument
146 for (int i = 0; i < capacity; i++) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEParser.java82 private final int capacity; field in class:MIMEParser
99 capacity = config.chunkSize+2+bl+4+NO_LWSP;
100 createBuf(capacity);
282 buf = new byte[min < capacity ? capacity : min];
416 * Fills the remaining buf to the full capacity

Completed in 76 milliseconds

1234