/openjdk7/jdk/src/share/native/sun/management/ |
H A D | MemoryManagerImpl.c | 32 jobject pools = jmm_interface->GetMemoryPools(env, mgr); local 33 if (pools == NULL) { 36 return pools;
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/ |
H A D | PoolCleaner.java | 34 final private Pool[] pools; field in class:PoolCleaner 39 * @param pools non-null array of Pools to clean 41 public PoolCleaner(long period, Pool[] pools) { argument 44 this.pools = (Pool[]) pools.clone(); 60 for (int i = 0; i < pools.length; i++) { 61 if (pools[i] != null) { 62 pools[i].expire(threshold);
|
/openjdk7/jdk/test/java/lang/management/BufferPoolMXBean/ |
H A D | Basic.java | 50 static void check(List<BufferPoolMXBean> pools, argument 57 for (BufferPoolMXBean pool: pools) { 93 List<BufferPoolMXBean> pools = 95 check(pools, bufferCount, totalCapacity); 101 pools = new ArrayList<BufferPoolMXBean>(); 105 pools.add(pool); 107 check(pools, bufferCount, totalCapacity);
|
/openjdk7/jdk/test/java/lang/management/MemoryMXBean/ |
H A D | ResetPeakMemoryUsage.java | 39 private static List pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:ResetPeakMemoryUsage 43 ListIterator iter = pools.listIterator();
|
H A D | MemoryManagement.java | 44 private static List pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:MemoryManagement 76 MemoryUtil.printMemoryPools(pools); 81 ListIterator iter = pools.listIterator();
|
H A D | MemoryTest.java | 50 // WARNING: if the number of pools changes in the future, 54 // heap memory pools = 3 (Eden, Survivor spaces, Old gen) 55 // non-heap memory pools = 2 (Perm gen, Code cache) 82 List pools = ManagementFactory.getMemoryPoolMXBeans(); 85 for (ListIterator iter = pools.listIterator(); iter.hasNext();) { 95 // Check the number of Memory pools 100 "Number of " + types[i] + " pools = " + numPools[i] + 118 "Expected to have one or more pools for " + 142 private static List pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:MemoryTest 145 for (ListIterator iter = pools [all...] |
H A D | MemoryUtil.java | 68 public static void printMemoryPools(List pools) { argument 69 ListIterator iter = pools.listIterator(); 70 System.out.println(INDENT + "Number of memory pools = " + pools.size()); 88 String[] pools = mgr.getMemoryPoolNames(); 89 for (int i = 0; i < pools.length; i++) { 90 System.out.print(INDENT + pools[i]); 91 if (i < (pools.length - 1)) {
|
H A D | LowMemoryTest.java | 44 private static List pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:LowMemoryTest 110 ListIterator iter = pools.listIterator();
|
H A D | CollectionUsageThreshold.java | 29 * 2) test notification emitted for two different memory pools. 46 private static List<MemoryPoolMXBean> pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:CollectionUsageThreshold 124 MemoryUtil.printMemoryPools(pools); 129 for (MemoryPoolMXBean p : pools) { 140 throw new RuntimeException("Unexpected number of selected pools");
|
/openjdk7/jdk/src/share/demo/management/VerboseGC/ |
H A D | PrintGCStat.java | 59 private List<MemoryPoolMXBean> pools; field in class:PrintGCStat 85 pools = new ArrayList<MemoryPoolMXBean>(); 91 pools.add(p); 115 this.pools = getMemoryPoolMXBeans(); 121 * of all memory pools as well as the GC statistics. 134 for (MemoryPoolMXBean p : pools) {
|
/openjdk7/jdk/src/share/classes/sun/management/ |
H A D | MemoryManagerImpl.java | 47 private MemoryPoolMXBean[] pools; field in class:MemoryManagerImpl 52 this.pools = null; 74 if (pools == null) { 75 pools = getMemoryPools0(); 77 return pools;
|
H A D | MemoryImpl.java | 51 private static MemoryPoolMXBean[] pools = null; field in class:MemoryImpl 89 // dynamically add or remove memory pools & managers. 91 if (pools == null) { 92 pools = getMemoryPools0(); 94 return pools;
|
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/ |
H A D | JvmMemMgrPoolRelTableMetaImpl.java | 170 // For each memory manager, get the list of memory pools 301 private transient JvmMemPoolTableMetaImpl pools = null; field in class:JvmMemMgrPoolRelTableMetaImpl 333 if (pools == null) { 334 pools = (JvmMemPoolTableMetaImpl) 337 return pools;
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | LdapPoolManager.java | 43 * Contains utilities for managing connection pools of LdapClient. 104 private static final int NONE = 0; // indices into pools 117 // List of pools used for different auth types 118 private static final Pool[] pools = new Pool[3]; field in class:LdapPoolManager 142 if (p >= 0 && pools[p] == null) { 143 pools[p] = new Pool(initSize, prefSize, maxSize); 165 new PoolCleaner(idleTimeout, pools).start(); 258 if (p < 0 || pools[p] == null) { 304 if (p < 0 || (pool=pools[p]) == null) { 342 (pools[NON [all...] |