Searched refs:used (Results 1 - 25 of 172) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/java/lang/management/
H A DMemoryUsage.java34 * by methods that are used to obtain memory usage
52 * <td valign=top> <tt>used</tt> </td>
53 * <td valign=top> represents the amount of memory currently used (in bytes).
64 * or equal to <tt>used</tt>.
70 * that can be used for memory management. Its value may be undefined.
72 * The amount of used and committed memory will always be less than
75 * used memory such that <tt>used &gt committed</tt> even
76 * if <tt>used &lt= max</tt> would still be true (for example,
94 * used
110 private final long used; field in class:MemoryUsage
137 MemoryUsage(long init, long used, long committed, long max) argument
[all...]
/openjdk7/jdk/src/share/back/
H A Dbag.c33 int used; /* number of items in bag */ member in struct:bag
50 theBag->used = 0;
62 newBag->used = oldBag->used;
63 (void)memcpy(newBag->items, oldBag->items, newBag->used * newBag->itemSize);
82 char *itemsEnd = items + (itemSize * theBag->used);
102 if (theBag->used >= allocated) {
109 (void)memcpy(new_items, items, (theBag->used) * itemSize);
115 ret = ((char *)items) + (itemSize * (theBag->used)++);
123 int used local
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DgSpaceCounters.hpp65 _used->set_value(_gen->used());
68 // special version of update_used() to allow the used value to be
69 // passed as a parameter. This method can can be used in cases were
70 // the utilization is already known and/or when the _gen->used()
74 inline void update_used(size_t used) { argument
75 _used->set_value(used);
85 jlong used() { function in class:GSpaceCounters
109 return _gen->used();
H A DhSpaceCounters.hpp72 jlong used() { function in class:HSpaceCounters
80 inline void update_all(size_t capacity, size_t used) { argument
82 update_used(used);
H A DcSpaceCounters.hpp63 _used->set_value(_space->used());
82 return _space->used();
H A DgcHeapSummary.hpp54 SpaceSummary(HeapWord* start, HeapWord* end, size_t used) : argument
55 _start(start), _end(end), _used(used) { }
59 size_t used() const { return _used; } function in class:SpaceSummary
79 GCHeapSummary(VirtualSpaceSummary& heap_space, size_t used) : argument
80 _heap(heap_space), _used(used) { }
83 size_t used() const { return _used; } function in class:GCHeapSummary
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DNativeThreadSet.java35 private int used = 0; field in class:NativeThreadSet
52 if (used >= elts.length) {
63 used++;
77 used--;
78 if (used == 0 && waitingToEmpty)
87 int u = used;
100 while (used > 0) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DJStack.java66 int used = 0;
70 used++;
73 used++;
77 if (used != 0) {
78 String[] newArgs = new String[args.length - used];
80 newArgs[i] = args[i + used];
H A DHeapSummary.java110 g1h.used(), g1h.capacity());
131 long oldFree = oldGen.capacity() - oldGen.used();
134 printValMB("used = ", oldGen.used());
136 System.out.println(alignment + (double)oldGen.used() * 100.0 / oldGen.capacity() + "% used");
139 long permFree = permGen.capacity() - permGen.used();
142 printValMB("used = ", permGen.used());
144 System.out.println(alignment + (double)permGen.used() * 100.
229 printG1Space(String spaceName, long regionNum, long used, long capacity) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DevacuationInfo.hpp52 void set_collectionset_used_before(size_t used) { argument
53 _collectionset_used_before = used;
56 void increment_collectionset_used_after(size_t used) { argument
57 _collectionset_used_after += used;
60 void set_alloc_regions_used_before(size_t used) { argument
61 _alloc_regions_used_before = used;
/openjdk7/hotspot/src/share/vm/services/
H A Dg1MemoryPool.cpp55 size_t used = used_in_bytes(); local
58 return MemoryUsage(initial_sz, used, committed, max_sz);
71 size_t used = used_in_bytes(); local
74 return MemoryUsage(initial_sz, used, committed, max_sz);
87 size_t used = used_in_bytes(); local
90 return MemoryUsage(initial_sz, used, committed, max_sz);
H A DpsMemoryPool.cpp55 size_t used = used_in_bytes(); local
58 return MemoryUsage(initial_size(), used, committed, maxSize);
80 size_t used = used_in_bytes(); local
83 return MemoryUsage(initial_size(), used, committed, maxSize);
102 size_t used = used_in_bytes(); local
104 return MemoryUsage(initial_size(), used, committed, maxSize);
H A DmemoryPool.cpp145 size_t peak_used = get_max_value(usage.used(), _peak_usage.used());
188 size_t used = used_in_bytes();
191 return MemoryUsage(initial_size(), used, committed, maxSize);
205 size_t used = used_in_bytes();
208 return MemoryUsage(initial_size(), used, committed, maxSize);
223 size_t used = used_in_bytes();
226 return MemoryUsage(initial_size(), used, committed, maxSize);
239 size_t used = used_in_bytes();
243 return MemoryUsage(initial_size(), used, committe
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DCounterMode.java50 // number of bytes in encryptedCounter already used up
51 private int used; field in class:CounterMode
75 * This is used when doFinal is called in the Cipher class, so that the
80 used = blockSize;
94 usedSave = used;
104 used = usedSave;
202 if (used >= blockSize) {
205 used = 0;
207 out[outOff++] = (byte)(in[inOff++] ^ encryptedCounter[used++]);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/binary/
H A DPatternInterner.java52 private int used; field in class:PatternInterner
57 used = 0;
65 used = parent.used;
83 if (used >= usedLimit) {
100 used++;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DParameterList.java182 * The 'used' parameter specifies the number of character positions
184 * list is to be inserted. It's used to determine where to fold the
187 * @param used number of character positions already used, in
192 public String toString(int used) { argument
201 used += 2;
203 if (used + len > 76) { // overflows ...
205 used = 8; // account for the starting <tab> char
208 used += name.length() + 1;
209 if (used
[all...]
/openjdk7/jdk/src/share/sample/nio/file/
H A DDiskUsage.java16 * contributors may be used to endorse or promote products derived
56 long used = (store.getTotalSpace() - store.getUnallocatedSpace()) / K;
64 System.out.format("%-20s %12d %12d %12d\n", s, total, used, avail);
68 System.out.format("%-20s %12s %12s %12s\n", "Filesystem", "kbytes", "used", "avail");
/openjdk7/hotspot/src/share/vm/prims/
H A Dwhitebox.hpp43 static bool used() { return _used; } function in class:WhiteBox
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DGenCollectedHeap.java104 public long used() { method in class:GenCollectedHeap
105 long used = 0;
107 used += getGen(i).used();
109 return used;
H A DDefNewGeneration.java79 public long capacity() { return eden().capacity() + from().capacity(); /* to() is only used during scavenge */ }
80 public long used() { return eden().used() + from().used(); /* to() is only used during scavenge */ } method in class:DefNewGeneration
81 public long free() { return eden().free() + from().free(); /* to() is only used during scavenge */ }
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DMacosxOperatingSystem.c52 jlong used = load.cpu_ticks[CPU_STATE_USER] + load.cpu_ticks[CPU_STATE_NICE] + load.cpu_ticks[CPU_STATE_SYSTEM]; local
53 jlong total = used + load.cpu_ticks[CPU_STATE_IDLE];
57 last_used = used;
63 jlong used_delta = used - last_used;
68 last_used = used;
/openjdk7/jdk/src/share/demo/jvmti/minst/
H A Dminst.c16 * contributors may be used to endorse or promote products derived
316 int used; local
322 used = 0;
324 used = (int)strlen(gdata->include);
325 gdata->include[used++] = ',';
326 gdata->include[used] = 0;
328 realloc((void*)gdata->include, used+maxlen+1);
334 next = get_token(next, ",=", gdata->include+used, maxlen);
340 int used; local
346 used
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parNew/
H A DparCardTableModRefBS.cpp89 MemRegion used,
97 // because of the strided parallelism pattern used here.
100 // at least "bottom" of the used region.
101 jbyte* start_card = byte_for(used.start());
102 jbyte* end_card = byte_after(used.last());
103 uintptr_t start_chunk = addr_to_chunk_index(used.start());
127 // Invariant: chunk_mr should be fully contained within the "used" region.
130 used.end() : addr_for(chunk_card_end));
132 assert(used.contains(chunk_mr), "chunk_mr should be subset of used");
88 process_stride(Space* sp, MemRegion used, jint stride, int n_strides, OopsInGenClosure* cl, CardTableRS* ct, jbyte** lowest_non_clean, uintptr_t lowest_non_clean_base_chunk_index, size_t lowest_non_clean_chunk_size) argument
174 process_chunk_boundaries(Space* sp, DirtyCardToOopClosure* dcto_cl, MemRegion chunk_mr, MemRegion used, jbyte** lowest_non_clean, uintptr_t lowest_non_clean_base_chunk_index, size_t lowest_non_clean_chunk_size) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/parallelScavenge/
H A DPSYoungGen.java78 public long used() { method in class:PSYoungGen
79 return edenSpace().used() + fromSpace().used();
H A DParallelScavengeHeap.java77 public long used() { method in class:ParallelScavengeHeap
78 return youngGen().used() + oldGen().used();

Completed in 46 milliseconds

1234567