|
From: Leif M. <le...@ta...> - 2003-01-31 16:14:35
|
Mikkel Damsgaard wrote: > I noticed in the repository that a new method requestThreadDump is > available. > This is great. > > But, I dont like it being implemented in the native library. I would > prefer it to send a message > to the wrapper executable and have it send a console signal to the jvm. That would also be possible. But what do you not like about the current method? Doing it this way makes it possible for the Thread Dump functionality to work when the JVM is being run standalone. Without the Wrapper process controlling it. > Btw, when using the wrapper executable to launch my application, what > use is the native library > exactly? The native library is also used for trapping system signals and giving WrapperListener implementations a chance to handle them. The native library is critical on Windows systems to prevent the JVM from being shutdown if the user logs off. Cheers, Leif |