Searched refs:threadGroup (Results 1 - 24 of 24) sorted by relevance

/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/threadpool/
H A DThreadPoolManagerImpl.java53 private ThreadGroup threadGroup; field in class:ThreadPoolManagerImpl
59 threadGroup = getThreadGroup();
60 threadPool = new ThreadPoolImpl(threadGroup,
121 boolean isDestroyed = threadGroup.isDestroyed();
122 int numThreads = threadGroup.activeCount();
123 int numGroups = threadGroup.activeGroupCount();
126 wrapper.threadGroupIsDestroyed(threadGroup);
129 wrapper.threadGroupHasActiveThreadsInClose(threadGroup, numThreads);
132 wrapper.threadGroupHasSubGroupsInClose(threadGroup, numGroups);
134 threadGroup
[all...]
H A DThreadPoolImpl.java108 private ThreadGroup threadGroup; field in class:ThreadPoolImpl
120 threadGroup = tg;
171 threadGroup = null;
318 WorkerThread thread = new WorkerThread(threadGroup, name);
/openjdk9/jdk/test/java/awt/Dialog/CloseDialog/
H A DCloseDialogTest.java111 ThreadGroup threadGroup = Thread.currentThread().getThreadGroup();
112 while (threadGroup.getParent() != null) {
113 threadGroup = threadGroup.getParent();
115 return threadGroup;
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/
H A DAppContext.java188 private final ThreadGroup threadGroup; field in class:AppContext
239 * @param threadGroup The ThreadGroup for the new AppContext
243 AppContext(ThreadGroup threadGroup) { argument
246 this.threadGroup = threadGroup;
247 threadGroup2appContext.put(threadGroup, this);
316 ThreadGroup threadGroup = currentThreadGroup;
328 threadGroup.getParent() != null) {
335 AppContext context = threadGroup2appContext.get(threadGroup);
337 threadGroup
[all...]
H A DSunToolkit.java233 ThreadGroup threadGroup = Thread.currentThread().getThreadGroup();
234 return createNewAppContext(threadGroup);
237 static final AppContext createNewAppContext(ThreadGroup threadGroup) { argument
241 AppContext appContext = new AppContext(threadGroup);
/openjdk9/jdk/test/sun/awt/AppContext/8012933/
H A DTest8012933.java38 final ThreadGroup threadGroup = new ThreadGroup("test thread group"); field in class:Test8012933
74 final Thread thread = new Thread(threadGroup, runnable, "creates app context");
/openjdk9/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/
H A DThreadGroupReferenceImpl.java93 for (ThreadGroupReference threadGroup : threadGroups()) {
94 threadGroup.suspend();
103 for (ThreadGroupReference threadGroup : threadGroups()) {
104 threadGroup.resume();
H A DThreadReferenceImpl.java61 private ThreadGroupReference threadGroup; field in class:ThreadReferenceImpl
316 public ThreadGroupReference threadGroup() { method in class:ThreadReferenceImpl
320 if (threadGroup == null) {
322 threadGroup = JDWP.ThreadReference.ThreadGroup.
328 return threadGroup;
/openjdk9/jdk/test/com/sun/jdi/
H A DNullThreadGroupNameTest.java88 assertThreadGroupName(thread.threadGroup(), "");
102 private void assertThreadGroupName(ThreadGroupReference threadGroup, String expectedName) { argument
104 String name = threadGroup.name();
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/image/
H A DImageFetcher.java63 private ImageFetcher(ThreadGroup threadGroup, int index) { argument
64 super(threadGroup, null, "Image Fetcher " + index, 0, false);
284 ThreadGroup threadGroup = appContext.getThreadGroup();
287 if (threadGroup.getParent() != null) {
288 // threadGroup is not the root, so we proceed
289 fetcherThreadGroup = threadGroup;
291 // threadGroup is the root ("system") ThreadGroup.
295 // threadGroup.getParent().getParent() == null.
296 threadGroup = Thread.currentThread().getThreadGroup();
297 ThreadGroup parent = threadGroup
[all...]
/openjdk9/jdk/src/jdk.jdi/share/classes/com/sun/jdi/
H A DThreadReference.java170 ThreadGroupReference threadGroup(); method in interface:ThreadReference
/openjdk9/jdk/src/java.base/share/classes/java/util/concurrent/
H A DForkJoinWorkerThread.java109 ThreadGroup threadGroup,
111 super(threadGroup, null, "aForkJoinWorkerThread");
107 ForkJoinWorkerThread(ForkJoinPool pool, ClassLoader ccl, ThreadGroup threadGroup, AccessControlContext acc) argument
/openjdk9/jdk/test/java/awt/EventDispatchThread/LoopRobustness/
H A DLoopRobustness.java139 TestThreadGroup(ThreadGroup threadGroup, String name) { argument
140 super(threadGroup, name);
/openjdk9/jdk/src/java.desktop/share/classes/sun/applet/
H A DAppletClassLoader.java646 private AppletThreadGroup threadGroup; field in class:AppletClassLoader
651 if (threadGroup == null || threadGroup.isDestroyed()) {
654 threadGroup = new AppletThreadGroup(base + "-threadGroup");
655 // threadGroup.setDaemon(true);
656 // threadGroup is now destroyed by AppContext.dispose()
661 AppContextCreator creatorThread = new AppContextCreator(threadGroup);
683 return threadGroup;
769 threadGroup
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/
H A DTimerQueue.java100 final ThreadGroup threadGroup = AppContext.getAppContext().getThreadGroup();
104 new Thread(threadGroup, this, name, 0, false);
/openjdk9/jdk/src/jdk.jdwp.agent/share/native/libjdwp/
H A DThreadReferenceImpl.c152 threadGroup(PacketInputStream *in, PacketOutputStream *out) function
672 (void *)threadGroup,
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/
H A DEventQueue.java149 private final ThreadGroup threadGroup = field in class:EventQueue
1075 if (dispatchThread == null && !threadGroup.isDestroyed() && !appContext.isDisposed()) {
1080 new EventDispatchThread(threadGroup,
/openjdk9/jdk/src/java.desktop/windows/native/libawt/windows/
H A Dawt_Toolkit.cpp368 jobject threadGroup; member in struct:ToolkitThreadProc_Data
381 attachArgs.group = data->threadGroup;
423 Java_sun_awt_windows_WToolkit_startToolkitThread(JNIEnv *env, jclass cls, jobject thread, jobject threadGroup) argument
430 data.threadGroup = env->NewGlobalRef(threadGroup);
431 if (data.thread == NULL || data.threadGroup == NULL) {
449 env->DeleteGlobalRef(data.threadGroup);
/openjdk9/jdk/src/java.management/share/classes/javax/management/monitor/
H A DMonitor.java1596 public DaemonThreadFactory(String poolName, ThreadGroup threadGroup) { argument
1597 group = threadGroup;
/openjdk9/jdk/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/
H A DCommands.java378 if (thr.threadGroup() == null) {
382 if (!thr.threadGroup().equals(tg)) {
383 tg = thr.threadGroup();
/openjdk9/hotspot/src/share/vm/classfile/
H A DjavaClasses.hpp326 static oop threadGroup(oop java_thread);
H A DjavaClasses.cpp1276 oop java_lang_Thread::threadGroup(oop java_thread) { function in class:java_lang_Thread
/openjdk9/hotspot/src/share/vm/runtime/
H A Dthread.cpp1813 while (java_lang_Thread::threadGroup(threadObj()) != NULL && (count-- > 0)) {
3008 oop thread_group = java_lang_Thread::threadGroup(thread_obj);
3021 oop thread_group = java_lang_Thread::threadGroup(thread_obj);
/openjdk9/hotspot/src/share/vm/prims/
H A DjvmtiEnv.cpp1122 thread_group = Handle(current_thread, java_lang_Thread::threadGroup(thread_obj()));

Completed in 401 milliseconds