Michal Slocinski wrote:
> Thomas Fritsch <i.dont.like.s...@invalid.com> wrote:
>>
>>I googled for
>> "Ctrl + break" signal
>>and found
>> <http://www.latenighthacking.com/projects/2003/sendSignal/>
>>Looks like this is what you need.
>>
>>--
>>Thomas
>
>
> This would be pretty good - however - as I said, this is JVM 1.5.0_9
> and Ctrl+Break for heap dumps is introduced in 1.5.0_14:
> http://java.sun.com/j2se/1.5.0/ReleaseNotes.html
> http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf
>
> Michal
You are right, sorry! I overlooked that you mentioned this in your first
post already.
But I tested with "AdaptJ's StackTrace"
<http://www.adaptj.com/root/main/stacktrace> (also mentioned on the web
site of my first reply).
My test application was a little Swing app (running with JDK 1.4.2,
started from within eclipse IDE, as a javaw.exe process)
The StackTrace tool itself was running via WebStart with Java 1.6.0.
Surprisingly the tool (click "Process - Select", and then "Process -
Thread dump") was able to get a thread dump from my Java 1.4 app.
I know this is not quite what you wanted, but at least it is more than
nothing.
--
Thomas