}
public MemoryPoolsExports(MemoryMXBean memoryBean,
List<MemoryPoolMXBean> poolBeans) {
this.memoryBean = memoryBean;
this.poolBeans = poolBeans;
<BUG>for (final MemoryPoolMXBean pool : poolBeans) {
if (!poolLabelValues.containsKey(pool)) {
String gcName = WHITESPACE.matcher(pool.getName()).replaceAll("-");
poolLabelValues.put(pool, Arrays.asList(gcName));
}
}</BUG>
}

}
public MemoryPoolsExports(MemoryMXBean memoryBean,
List<MemoryPoolMXBean> poolBeans) {
this.memoryBean = memoryBean;
this.poolBeans = poolBeans;
}
