/openjdk7/jdk/test/java/lang/ThreadGroup/ |
H A D | Daemon.java | 33 ThreadGroup tg = new ThreadGroup("madbot-threads"); 34 Thread myThread = new MadThread(tg,"mad"); 35 ThreadGroup aGroup = new ThreadGroup(tg, "ness"); 36 tg.setDaemon(true); 37 if (tg.activeCount() != 0) 40 if (tg.isDestroyed()) 53 MadThread(ThreadGroup tg, String name) { argument 54 super(tg, name);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/ |
H A D | ThreadGroupIterator.java | 55 public ThreadGroupIterator(ThreadGroupReference tg) { argument 57 tgl.add(tg); 95 ThreadGroupReference tg = top().next(); 96 push(tg.threadGroups()); 97 return tg; 109 ThreadGroupReference tg = tgi.nextThreadGroup(); 110 if (tg.name().equals(name)) { 111 return tg;
|
H A D | ThreadIterator.java | 46 public ThreadIterator(ThreadGroupReference tg) { argument 47 tgi = new ThreadGroupIterator(tg);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/ |
H A D | ThreadIterator.java | 46 ThreadIterator(ThreadGroupReference tg) { argument 47 tgi = new ThreadGroupIterator(tg);
|
H A D | ThreadGroupIterator.java | 54 ThreadGroupIterator(ThreadGroupReference tg) { argument 56 tgl.add(tg); 92 ThreadGroupReference tg = top().next(); 93 push(tg.threadGroups()); 94 return tg; 105 ThreadGroupReference tg = tgi.nextThreadGroup(); 106 if (tg.name().equals(name)) { 107 return tg;
|
H A D | ThreadInfo.java | 127 static void setThreadGroup(ThreadGroupReference tg) { argument 128 group = tg;
|
H A D | Commands.java | 361 private void printThreadGroup(ThreadGroupReference tg) { argument 362 ThreadIterator threadIter = new ThreadIterator(tg); 364 MessageOutput.println("Thread Group:", tg.name()); 375 threadIter = new ThreadIterator(tg); 382 if (!thr.threadGroup().equals(tg)) { 383 tg = thr.threadGroup(); 384 MessageOutput.println("Thread Group:", tg.name()); 466 ThreadGroupReference tg = ThreadGroupIterator.find(name); 467 if (tg == null) { 470 printThreadGroup(tg); [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | GC.java | 125 private Daemon(ThreadGroup tg) { argument 126 super(tg, "GC Daemon"); 133 ThreadGroup tg = Thread.currentThread().getThreadGroup(); 134 for (ThreadGroup tgn = tg; 136 tg = tgn, tgn = tg.getParent()); 137 Daemon d = new Daemon(tg);
|
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/ |
H A D | ConfigChanges.java | 39 static final ThreadGroup tg = new ThreadGroup("pool"); field in class:ConfigChanges 47 tg.activeCount(), 121 Thread t = new Thread(tg, r); 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 [all...] |
H A D | ThrowingTasks.java | 87 static final ThreadGroup tg = new ThreadGroup("Flaky"); field in class:ThrowingTasks 91 Thread t = new Thread(tg, r); 173 //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);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ |
H A D | ThreadPoolImpl.java | 116 public ThreadPoolImpl(ThreadGroup tg, String threadpoolName) { argument 120 threadGroup = tg; 471 WorkerThread(ThreadGroup tg, String threadPoolName) { argument 472 super(tg, "Idle");
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | CommandInterpreter.java | 145 private void setDefaultThreadGroup(ThreadGroupReference tg) { argument 146 defaultThreadGroup = tg; 219 ThreadGroupReference tg = findThreadGroup(name); 220 if (tg == null) { 224 printThreadGroup(out, tg, 0); 233 ThreadGroupReference tg = tgi.nextThreadGroup(); 234 if (tg.name().equals(name)) { 235 return tg; 241 private int printThreadGroup(OutputSink out, ThreadGroupReference tg, int iThread) { argument 242 out.println("Group " + tg [all...] |