Searched refs:poolNames (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/test/java/lang/management/MemoryMXBean/
H A DMemoryTest.java115 String[] poolNames = mgr.getMemoryPoolNames();
116 if (poolNames == null || poolNames.length == 0) {
125 for (int i = 0; i < poolNames.length; i++) {
126 checkPoolType(poolNames[i], MemoryType.NON_HEAP);
/openjdk7/jdk/src/share/classes/sun/management/
H A DGcInfoBuilder.java45 private final String[] poolNames; field in class:GcInfoBuilder
59 GcInfoBuilder(GarbageCollectorMXBean gc, String[] poolNames) { argument
61 this.poolNames = poolNames;
77 MemoryUsage[] usageBeforeGC = new MemoryUsage[poolNames.length];
78 MemoryUsage[] usageAfterGC = new MemoryUsage[poolNames.length];
86 return poolNames;
H A DGarbageCollectorImpl.java70 private String[] poolNames = null; field in class:GarbageCollectorImpl
72 if (poolNames == null) {
74 poolNames = new String[pools.size()];
80 poolNames[i] = p.getName();
83 return poolNames;
/openjdk7/jdk/src/share/classes/com/sun/management/
H A DGcInfo.java86 String[] poolNames = builder.getPoolNames();
87 this.usageBeforeGc = new HashMap<String, MemoryUsage>(poolNames.length);
88 this.usageAfterGc = new HashMap<String, MemoryUsage>(poolNames.length);
89 for (int i = 0; i < poolNames.length; i++) {
90 this.usageBeforeGc.put(poolNames[i], muBeforeGc[i]);
91 this.usageAfterGc.put(poolNames[i], muAfterGc[i]);

Completed in 42 milliseconds