Hi all,
I am currently writing a Java applet (if it matters, it calls some VC
DLLs). Unfortunately, after running for a bit it crashes. Some
investigation revealed that it is crashing upon garbage collection,
leading me to believe that it is a heap corruption issue. So, I would
like to generate a hprof file to subsequently analyze with hat.
In the java control panel, I added the -Xrunhprof option. Then I ran
the applet in Internet Explorer. Upon crashing, this generates an empty
0-byte file. I have duplicated this option to run several Java
standalone programs and it works fine, so I know that my syntax is
correct.
My question is, is there any way to generate an hprof file from a Java
applet running in IE?
Thanks!!
--Erica
kelly.ohair@sun.com - 24 May 2006 19:22 GMT
It sounds to me like it might be more of a JNI issue, I would try using
the option -Xcheck:jni and see if it catches any obvious JNI problems
first.
-kto
> Hi all,
>
[quoted text clipped - 15 lines]
> Thanks!!
> --Erica
erica.cooksey@gmail.com - 25 May 2006 14:27 GMT
Thanks, I have tried that to no avail. What I would really like to know
is, can I generate an hprof file when running my applet in IE?