wood burning stoves
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "java threads" Watch "java threads" New topic

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: 691
I give up.
Is it the white one and the black one?
Ulf Dittmer

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

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!
It is sorta covered in the JavaRanch Style Guide.
subject: java threads
It's not a secret anymore!