JVM exits after the main() thread is exited even if there might be some threads running.
Rowan Brownlee
Ranch Hand
Joined: Aug 07, 2000
Posts: 97
posted
0
Hello Hades, If all of the user threads have died, the application will cease even if there are some daemon threads still running (eg the garbage collector). cheerio rowan
Hades Pan
Ranch Hand
Joined: Nov 25, 2001
Posts: 106
posted
0
I got it ! Thank for Rowan's example!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.