Searched defs:pools (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/native/sun/management/
H A DMemoryManagerImpl.c32 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 DPoolCleaner.java34 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 DBasic.java50 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 DResetPeakMemoryUsage.java39 private static List pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:ResetPeakMemoryUsage
43 ListIterator iter = pools.listIterator();
H A DMemoryManagement.java44 private static List pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:MemoryManagement
76 MemoryUtil.printMemoryPools(pools);
81 ListIterator iter = pools.listIterator();
H A DMemoryTest.java50 // 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 DMemoryUtil.java68 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 DLowMemoryTest.java44 private static List pools = ManagementFactory.getMemoryPoolMXBeans(); field in class:LowMemoryTest
110 ListIterator iter = pools.listIterator();
H A DCollectionUsageThreshold.java29 * 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 DPrintGCStat.java59 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 DMemoryManagerImpl.java47 private MemoryPoolMXBean[] pools; field in class:MemoryManagerImpl
52 this.pools = null;
74 if (pools == null) {
75 pools = getMemoryPools0();
77 return pools;
H A DMemoryImpl.java51 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 DJvmMemMgrPoolRelTableMetaImpl.java170 // 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 DLdapPoolManager.java43 * 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...]

Completed in 81 milliseconds