Searched refs:activeCount (Results 1 - 20 of 20) sorted by relevance

/openjdk7/corba/src/share/classes/com/sun/corba/se/pept/transport/
H A DByteBufferPool.java37 public int activeCount(); method in interface:ByteBufferPool
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DThreadLists.java46 int activeCount = top.activeCount();
54 System.out.println("ThreadGroup: " + activeCount + " active thread(s)");
61 if (activeCount != stackTraces.size()) failed = true;
62 if (activeCount != threadCount) failed = true;
63 if (activeCount != threadIds.length) failed = true;
/openjdk7/jdk/test/java/lang/Thread/
H A DStartOOMTest.java62 while (tg.activeCount() > i/2)
76 int activeCount = tg.activeCount();
77 System.out.println("activeCount = " + activeCount);
79 if (activeCount > 0) {
H A DMainThreadTest.java33 int n = tg.activeCount();
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DConfigChanges.java47 tg.activeCount(),
128 equal(tg.activeCount(), n);
129 equal(tg.activeCount(), tpe.getCorePoolSize());
154 equal(tg.activeCount(), 3*n);
155 equal(tg.activeCount(), tpe.getMaximumPoolSize());
167 equal(tg.activeCount(), 4*n);
168 equal(tg.activeCount(), tpe.getMaximumPoolSize());
179 // while (tg.activeCount() != n &&
180 // tg.activeCount() != n)
182 // equal(tg.activeCount(),
[all...]
H A DThrowingTasks.java173 //System.out.println(tg.activeCount());
213 //System.out.printf("thread count = %d%n", tg.activeCount());
216 while (tg.activeCount() != tpe.getCorePoolSize() ||
217 tg.activeCount() != tpe.getCorePoolSize())
219 equal(tg.activeCount(), tpe.getCorePoolSize());
226 //while (tg.activeCount() > 0) Thread.sleep(10);
H A DCoreThreadTimeOut.java47 Thread[] threads = new Thread[Thread.activeCount()+100];
H A DCustom.java83 Thread[] threads = new Thread[Thread.activeCount()+100];
/openjdk7/jdk/test/java/util/concurrent/Executors/
H A DAutoShutdown.java60 int count0 = Thread.activeCount();
66 equal(Thread.activeCount(), count0 + 2);
68 for (int i = 0; i < 10 && Thread.activeCount() > count0; i++)
71 if (Thread.activeCount() == count0)
75 equal(Thread.activeCount(), count0);
/openjdk7/jdk/test/java/lang/ThreadGroup/
H A DDaemon.java37 if (tg.activeCount() != 0)
38 throw new RuntimeException("activeCount");
/openjdk7/jdk/test/com/sun/jdi/
H A DDebuggerThreadTest.java76 int listThreads = tg.activeCount();
/openjdk7/jdk/test/java/io/PipedInputStream/
H A DWriterLoop.java75 Thread[] threads = new Thread[Thread.activeCount()];
/openjdk7/jdk/test/java/lang/ref/
H A DNullQueue.java44 int nt = tg.activeCount();
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4177735.java86 Thread[] threads = new Thread[group.activeCount()];
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DByteBufferPoolImpl.java201 public int activeCount() method in class:ByteBufferPoolImpl
/openjdk7/jdk/test/sun/net/www/http/KeepAliveCache/
H A DKeepAliveTimerThread.java119 if (grp.activeCount() > 0) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/
H A DThreadPoolManagerImpl.java122 int numThreads = threadGroup.activeCount();
/openjdk7/jdk/src/share/classes/sun/awt/
H A DAppContext.java491 while ((this.threadGroup.activeCount() > 0) &&
506 while ((this.threadGroup.activeCount() > 0) &&
/openjdk7/jdk/src/share/classes/java/lang/
H A DThread.java1180 public static int activeCount() { method in class:Thread
1181 return currentThread().getThreadGroup().activeCount();
1190 * <p> An application might use the {@linkplain #activeCount activeCount}
H A DThreadGroup.java336 public int activeCount() { method in class:ThreadGroup
355 result += groupsSnapshot[i].activeCount();
395 * <p> An application might use the {@linkplain #activeCount activeCount}

Completed in 124 milliseconds