revert part of earlier comment involving setDaemon and runJavaThread

The code added to runJavaThread was unecessary and harmful since it
allowed the global daemon thread count to become permanently
out-of-sync with the actual number of daemon threads.
This commit is contained in:
Joel Dice 2010-12-01 20:29:56 -07:00
parent 4a3b5ad1ab
commit 3d56a3211d

View File

@ -1756,10 +1756,6 @@ instanceOf(Thread* t, object class_, object o);
inline void
runJavaThread(Thread* t)
{
if (threadDaemon(t, t->javaThread)) {
atomicOr(&(t->flags), Thread::DaemonFlag);
}
t->m->classpath->runThread(t);
}