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

/openjdk10/jdk/src/jdk.management/share/classes/com/sun/management/internal/
H A DGarbageCollectorExtImpl.java59 private String[] poolNames = null; field in class:GarbageCollectorExtImpl
61 if (poolNames == null) {
63 poolNames = new String[pools.size()];
66 poolNames[i++] = m.getName();
69 return poolNames;
H A DGcInfoBuilder.java41 private final String[] poolNames; field in class:GcInfoBuilder
55 GcInfoBuilder(GarbageCollectorMXBean gc, String[] poolNames) { argument
57 this.poolNames = poolNames;
73 MemoryUsage[] usageBeforeGC = new MemoryUsage[poolNames.length];
74 MemoryUsage[] usageAfterGC = new MemoryUsage[poolNames.length];
82 return poolNames.clone();
/openjdk10/jdk/test/java/lang/management/MemoryMXBean/
H A DMemoryTest.java133 String[] poolNames = mgr.getMemoryPoolNames();
134 if (poolNames == null || poolNames.length == 0) {
143 for (int i = 0; i < poolNames.length; i++) {
144 checkPoolType(poolNames[i], MemoryType.NON_HEAP);
/openjdk10/jdk/src/jdk.management/share/classes/com/sun/management/
H A DGcInfo.java85 String[] poolNames = builder.getPoolNames();
86 this.usageBeforeGc = new HashMap<String, MemoryUsage>(poolNames.length);
87 this.usageAfterGc = new HashMap<String, MemoryUsage>(poolNames.length);
88 for (int i = 0; i < poolNames.length; i++) {
89 this.usageBeforeGc.put(poolNames[i], muBeforeGc[i]);
90 this.usageAfterGc.put(poolNames[i], muAfterGc[i]);

Completed in 173 milliseconds