• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java threads

 
jignesh soni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which are the two threads always running in java ?
 
Norm Radder
Ranch Hand
Posts: 1039
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I give up.
Is it the white one and the black one?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's some code that will come in handy if you want to investigate what threads are active at any given time.
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alternatively, take a thread dump(CTRL-Break(Win systems) or CTRL-/(Unix)) and find it for yourself how many threads are alive and they are in what states!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic