public static synchronized List<BufferPoolMXBean> getBufferPoolMXBeans() { if (bufferPools == null) { bufferPools = new ArrayList<>(2); bufferPools.add( createBufferPoolMXBean( j86.sun.misc.SharedSecrets.getJavaNioAccess().getDirectBufferPool())); bufferPools.add(createBufferPoolMXBean(j86.sun.nio.ch.FileChannelImpl.getMappedBufferPool())); } return bufferPools; }