• Post Reply Bookmark Topic Watch Topic
  • New Topic

Killing of child threads (i.e more then 1500)

 
Mutahir Rizvi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing a very big problem, i.e when my java application runs it creates more then 1500 child threads. When i closes program it takes nearly 5 min to close it(because of killing of child threads). Is there any way that all the threads kill at once, so that the time to restart application should be decreased.
Thanks in advance.
Regards,
Mutahir.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why does your app need to create 1500 child threads? What are the threads doing? How do you "kill" them and why does it take so long? Could they be "daemon" threads?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!