Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Getting hprof file from Java applet?

Thread view: 
erica.cooksey@gmail.com - 24 May 2006 16:20 GMT
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?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.