Lines Matching defs:poolName
60 private static long getPoolMaxSize(String poolName) {
62 MemoryPoolMXBean pool = findPool(poolName);
70 throw new RuntimeException("Pool '" + poolName + "' wasn't found");
72 log("Max size of the pool '" + poolName + "' is " + result);
76 private static long getPoolCommittedSize(String poolName) {
78 MemoryPoolMXBean pool = findPool(poolName);
86 throw new RuntimeException("Pool '" + poolName + "' wasn't found");
88 log("Committed size of the pool '" + poolName + "' is " + result);
92 private static MemoryPoolMXBean findPool(String poolName) {
94 if (pool.getName().contains(poolName)) {