my dog learned polymorphism*
The moose likes Threads and Synchronization and the fly likes java threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "java threads" Watch "java threads" New topic
Author

java threads

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
which are the two threads always running in java ?
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
I give up.
Is it the white one and the black one?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
Here's some code that will come in handy if you want to investigate what threads are active at any given time.


Ping & DNS - my free Android networking tools app
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

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!!


apigee, a better way to API!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java threads
 
Similar Threads
New to using a profiler .Please help
Threads
Synchronized methods
threads
Two threads of same class instance to wait separately