Re: how many threads when jvm starts
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 03:19:36 GMT
On Wed, 30 Jul 2008 19:53:29 -0700 (PDT), BILL <bill_j_chen@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
Newbie question...
when we start a simpel java program (no multiple thread), do we have a
way to know how many threads the jvm will create... in other words,
what default threads does the jvm have? do we have a way to get some
infomation of those threads progammatically?
You can abort java.exe by hitting ctrl-C. You can abort and get a dump
of what was going on at the time with the threads with
Ctrl+Shift+Break. For anything fancier, you will probably need a
debugger.
I vaguely recall some simple tool that showed me what was going on
with threads. There at least half a dozen of them even in a "single
thread" app.
Check out the Java.exe command parms to see if there is something.
See http://mindprod.com/jgloss/javaexe.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- how many threads when jvm starts
- From: BILL
- how many threads when jvm starts
- Prev by Date: how many threads when jvm starts
- Next by Date: Re: import statement
- Previous by thread: how many threads when jvm starts
- Next by thread: Re: how many threads when jvm starts
- Index(es):
Relevant Pages
|