Lines Matching defs:tg
51 static final ThreadGroup tg = new ThreadGroup("pool");
59 tg.activeCount(),
164 Thread t = new Thread(tg, r);
171 equal(n, tg.activeCount());
198 equal(3*n, tg.activeCount());
215 equal(4*n, tg.activeCount());
230 spinAwait(() -> tg.activeCount() == 2*n);
237 equal(2*n, tg.activeCount());
249 spinAwait(() -> tg.activeCount() == n);
257 spinAwait(() -> tg.activeCount() == 0);