Searched refs:MemoryUsage (Results 1 - 25 of 52) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DMemoryPoolStat.java28 import java.lang.management.MemoryUsage;
33 private MemoryUsage usage;
38 private MemoryUsage beforeGcUsage;
39 private MemoryUsage afterGcUsage;
43 MemoryUsage usage,
48 MemoryUsage beforeGcUsage,
49 MemoryUsage afterGcUsage) {
71 public MemoryUsage getUsage() {
123 public MemoryUsage getBeforeGcUsage() {
131 public MemoryUsage getAfterGcUsag
[all...]
/openjdk7/jdk/src/share/classes/java/lang/management/
H A DMemoryMXBean.java232 * The mapped type of <tt>MemoryUsage</tt> is
234 * {@link MemoryUsage#from MemoryUsage}.
236 * @return a {@link MemoryUsage} object representing
239 public MemoryUsage getHeapMemoryUsage();
255 * The mapped type of <tt>MemoryUsage</tt> is
257 * {@link MemoryUsage#from MemoryUsage}.
259 * @return a {@link MemoryUsage} object representing
262 public MemoryUsage getNonHeapMemoryUsag
[all...]
H A DMemoryPoolMXBean.java402 * The mapped type of <tt>MemoryUsage</tt> is
404 * {@link MemoryUsage#from MemoryUsage}.
406 * @return a {@link MemoryUsage} object; or <tt>null</tt> if
409 public MemoryUsage getUsage();
419 * The mapped type of <tt>MemoryUsage</tt> is
421 * {@link MemoryUsage#from MemoryUsage}.
423 * @return a {@link MemoryUsage} object representing the peak
427 public MemoryUsage getPeakUsag
[all...]
H A DMemoryUsage.java32 * A <tt>MemoryUsage</tt> object represents a snapshot of memory usage.
33 * Instances of the <tt>MemoryUsage</tt> class are usually constructed
38 * <p> A <tt>MemoryUsage</tt> object contains four values:
102 * <tt>MemoryUsage</tt> is mapped to a {@link CompositeData CompositeData}
108 public class MemoryUsage { class
115 * Constructs a <tt>MemoryUsage</tt> object.
137 public MemoryUsage(long init, method in class:MemoryUsage
173 * Constructs a <tt>MemoryUsage</tt> object from a
176 private MemoryUsage(CompositeData cd) { method in class:MemoryUsage
252 * Returns a <tt>MemoryUsage</t
[all...]
H A DMemoryNotificationInfo.java109 private final MemoryUsage usage;
149 MemoryUsage usage,
188 public MemoryUsage getUsage() {
/openjdk7/hotspot/src/share/vm/services/
H A Dg1MemoryPool.cpp52 MemoryUsage G1EdenPool::get_memory_usage() {
58 return MemoryUsage(initial_sz, used, committed, max_sz);
68 MemoryUsage G1SurvivorPool::get_memory_usage() {
74 return MemoryUsage(initial_sz, used, committed, max_sz);
84 MemoryUsage G1OldGenPool::get_memory_usage() {
90 return MemoryUsage(initial_sz, used, committed, max_sz);
H A Dg1MemoryPool.hpp78 MemoryUsage get_memory_usage();
92 MemoryUsage get_memory_usage();
106 MemoryUsage get_memory_usage();
H A DpsMemoryPool.cpp53 MemoryUsage PSGenerationPool::get_memory_usage() {
58 return MemoryUsage(initial_size(), used, committed, maxSize);
78 MemoryUsage EdenMutableSpacePool::get_memory_usage() {
83 return MemoryUsage(initial_size(), used, committed, maxSize);
100 MemoryUsage SurvivorMutableSpacePool::get_memory_usage() {
104 return MemoryUsage(initial_size(), used, committed, maxSize);
H A DmemoryPool.hpp75 MemoryUsage _peak_usage; // Peak memory usage
76 MemoryUsage _after_gc_usage; // After GC memory usage
121 MemoryUsage get_peak_memory_usage() {
138 void set_last_collection_usage(MemoryUsage u) { _after_gc_usage = u; }
141 virtual MemoryUsage get_memory_usage() = 0;
144 virtual MemoryUsage get_last_collection_usage() { return _after_gc_usage; }
165 MemoryUsage get_memory_usage();
180 MemoryUsage get_memory_usage();
201 MemoryUsage get_memory_usage();
213 MemoryUsage get_memory_usag
[all...]
H A DmemoryManager.hpp118 MemoryUsage* _before_gc_usage_array;
119 MemoryUsage* _after_gc_usage_array;
122 void set_gc_usage(int pool_index, MemoryUsage, bool before_gc);
132 MemoryUsage before_gc_usage_for_pool(int pool_index) {
136 MemoryUsage after_gc_usage_for_pool(int pool_index) {
141 MemoryUsage* before_gc_usage_array() { return _before_gc_usage_array; }
142 MemoryUsage* after_gc_usage_array() { return _after_gc_usage_array; }
147 void set_before_gc_usage(int pool_index, MemoryUsage usage) {
151 void set_after_gc_usage(int pool_index, MemoryUsage usage) {
H A DmemoryPool.cpp51 _after_gc_usage = MemoryUsage(_initial_size, 0, 0, _max_size);
144 MemoryUsage usage = get_memory_usage();
149 _peak_usage = MemoryUsage(initial_size(), peak_used, peak_committed, peak_max_size);
186 MemoryUsage ContiguousSpacePool::get_memory_usage() {
191 return MemoryUsage(initial_size(), used, committed, maxSize);
203 MemoryUsage SurvivorContiguousSpacePool::get_memory_usage() {
208 return MemoryUsage(initial_size(), used, committed, maxSize);
221 MemoryUsage CompactibleFreeListSpacePool::get_memory_usage() {
226 return MemoryUsage(initial_size(), used, committed, maxSize);
238 MemoryUsage GenerationPoo
[all...]
H A DmemoryUsage.hpp47 class MemoryUsage VALUE_OBJ_CLASS_SPEC {
56 MemoryUsage(size_t i, size_t u, size_t c, size_t m) : function in class:VALUE_OBJ_CLASS_SPEC
58 MemoryUsage() : function in class:VALUE_OBJ_CLASS_SPEC
H A DpsMemoryPool.hpp47 MemoryUsage get_memory_usage();
65 MemoryUsage get_memory_usage();
83 MemoryUsage get_memory_usage();
H A DlowMemoryDetector.hpp85 bool is_high_threshold_crossed(MemoryUsage usage) {
91 bool is_low_threshold_crossed(MemoryUsage usage) {
135 MemoryUsage _usage;
184 void set_gauge_sensor_level(MemoryUsage usage, ThresholdSupport* high_low_threshold);
202 void set_counter_sensor_level(MemoryUsage usage, ThresholdSupport* counter_threshold);
/openjdk7/jdk/test/java/lang/management/MemoryMXBean/
H A DResetPeakMemoryUsage.java58 MemoryUsage usage0 = mpool.getUsage();
59 MemoryUsage peak0 = mpool.getPeakUsage();
71 MemoryUsage usage1 = mpool.getUsage();
72 MemoryUsage peak1 = mpool.getPeakUsage();
97 MemoryUsage usage2 = mpool.getUsage();
98 MemoryUsage peak2 = mpool.getPeakUsage();
119 MemoryUsage usage3 = mpool.getUsage();
120 MemoryUsage peak3 = mpool.getPeakUsage();
141 MemoryUsage current = mpool.getUsage();
142 MemoryUsage pea
[all...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DMemoryPoolImpl.java30 import java.lang.management.MemoryUsage;
95 public MemoryUsage getUsage() {
99 public synchronized MemoryUsage getPeakUsage() {
120 MemoryUsage usage = getUsage0();
182 MemoryUsage u = getUsage0();
217 MemoryUsage usage = getUsage0();
251 MemoryUsage u = getCollectionUsage0();
265 public MemoryUsage getCollectionUsage() {
274 private native MemoryUsage getUsage0();
275 private native MemoryUsage getPeakUsage
[all...]
H A DMemoryUsageCompositeData.java28 import java.lang.management.MemoryUsage;
35 * A CompositeData for MemoryUsage for the local management support.
40 private final MemoryUsage usage;
42 private MemoryUsageCompositeData(MemoryUsage u) {
46 public MemoryUsage getMemoryUsage() {
50 public static CompositeData toCompositeData(MemoryUsage u) {
79 MappedMXBeanType.toOpenType(MemoryUsage.class);
126 "Unexpected composite type for MemoryUsage");
H A DSensor.java28 import java.lang.management.MemoryUsage;
131 public void trigger(int increment, MemoryUsage usage) {
170 abstract void triggerAction(MemoryUsage u);
H A DMemoryImpl.java30 import java.lang.management.MemoryUsage;
70 public MemoryUsage getHeapMemoryUsage() {
74 public MemoryUsage getNonHeapMemoryUsage() {
104 private native MemoryUsage getMemoryUsage0(boolean heap);
147 MemoryUsage usage,
H A DGcInfoBuilder.java28 import java.lang.management.MemoryUsage;
77 MemoryUsage[] usageBeforeGC = new MemoryUsage[poolNames.length];
78 MemoryUsage[] usageAfterGC = new MemoryUsage[poolNames.length];
203 MemoryUsage[] before,
204 MemoryUsage[] after);
/openjdk7/jdk/test/java/lang/management/CompositeData/
H A DMemoryUsageCompositeData.java27 * @summary Test MemoryUsage.from() method to return a valid MemoryUsage
36 import java.lang.management.MemoryUsage;
60 "CompositeType for MemoryUsage",
68 MemoryUsage u = MemoryUsage.from(cd);
101 "CompositeType for MemoryUsage",
110 MemoryUsage u = MemoryUsage.from(cd);
133 "CompositeType for MemoryUsage",
[all...]
/openjdk7/jdk/src/share/classes/com/sun/management/
H A DGcInfo.java28 import java.lang.management.MemoryUsage;
71 private final Map<String, MemoryUsage> usageBeforeGc;
72 private final Map<String, MemoryUsage> usageAfterGc;
79 MemoryUsage[] muBeforeGc,
80 MemoryUsage[] muAfterGc,
87 this.usageBeforeGc = new HashMap<String, MemoryUsage>(poolNames.length);
88 this.usageAfterGc = new HashMap<String, MemoryUsage>(poolNames.length);
161 public Map<String, MemoryUsage> getMemoryUsageBeforeGc() {
176 public Map<String, MemoryUsage> getMemoryUsageAfterGc() {
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/
H A DJvmMemPoolEntryImpl.java39 import java.lang.management.MemoryUsage;
71 final static MemoryUsage ZEROS = new MemoryUsage(0,0,0,0);
77 MemoryUsage getMemoryUsage() {
82 final MemoryUsage cached = (MemoryUsage)
90 MemoryUsage u = pool.getUsage();
102 "Failed to get MemoryUsage: " + x);
109 MemoryUsage getPeakMemoryUsage() {
114 final MemoryUsage cache
[all...]
H A DJvmMemoryImpl.java39 import java.lang.management.MemoryUsage;
147 private MemoryUsage getMemoryUsage(MemoryType type) {
155 MemoryUsage getNonHeapMemoryUsage() {
160 final MemoryUsage cached = (MemoryUsage)
168 final MemoryUsage u = getMemoryUsage(MemoryType.NON_HEAP);
172 // if (u == null) u=MemoryUsage.INVALID;
191 MemoryUsage getHeapMemoryUsage() {
196 final MemoryUsage cached = (MemoryUsage)
[all...]
/openjdk7/jdk/test/com/sun/management/GarbageCollectorMXBean/
H A DLastGCInfo.java34 import java.lang.management.MemoryUsage;
77 MemoryUsage busage = (MemoryUsage) entry.getValue();
78 MemoryUsage ausage = (MemoryUsage) info.getMemoryUsageAfterGc().get(poolname);

Completed in 1066 milliseconds

123