jdk/src/share/classes/sun/management/MemoryImpl.java
static synchronized MemoryPoolMXBean[] getMemoryPools() {
{- -------------------------------------------
(1) sun.management.MemoryImpl.getMemoryPools0() の結果を返すだけ.
(既にキャッシュしてあった値があればそれを返すだけ)
---------------------------------------- -}
if (pools == null) {
pools = getMemoryPools0();
}
return pools;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.