Searched refs:isDaemon (Results 1 – 7 of 7) sorted by relevance
62 private boolean isDaemon; field in ThreadGroup101 if (parent.isDaemon()) { in ThreadGroup()245 if (isDaemon && !isDestroyed && !threads.iterator().hasNext()) { in destroyIfEmptyDaemon()433 public final boolean isDaemon() { in isDaemon() method in ThreadGroup434 return isDaemon; in isDaemon()561 public final void setDaemon(boolean isDaemon) { in setDaemon() argument562 this.isDaemon = isDaemon; in setDaemon()
696 public final boolean isDaemon() { in isDaemon() method in Thread839 public final void setDaemon(boolean isDaemon) { in setDaemon() argument843 daemon = isDaemon; in setDaemon()
189 TimerImpl(String name, boolean isDaemon) { in TimerImpl() argument191 this.setDaemon(isDaemon); in TimerImpl()361 public Timer(String name, boolean isDaemon) { in Timer() argument365 this.impl = new TimerImpl(name, isDaemon); in Timer()383 public Timer(boolean isDaemon) { in Timer() argument384 this("Timer-" + Timer.nextId(), isDaemon); in Timer()
370 assertTrue("Setting daemon&getting does not work", testRoot.isDaemon()); in test_setDaemon_isDaemon()373 assertTrue("Setting daemon&getting does not work", !testRoot.isDaemon()); in test_setDaemon_isDaemon()386 assertTrue(ctg.isDaemon()); in test_setDaemon_Parent_Child()389 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()392 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()395 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()
550 assertTrue("Non-Daemon thread returned true", !st.isDaemon()); in test_isDaemon()552 assertTrue("Daemon thread returned false", st.isDaemon()); in test_isDaemon()775 assertTrue("Failed to set thread as daemon thread", st.isDaemon()); in test_setDaemonZ()
314 assertTrue(!current.isDaemon()); in testDefaultThreadFactory()358 assertTrue(!current.isDaemon()); in testPrivilegedThreadFactory()
529 if (t.isDaemon())