Menu

profiling applets

Help
2002-09-10
2002-09-13
  • Peter Schaeffer

    Peter Schaeffer - 2002-09-10

    Is it possible to profile applets? If yes, how?
    I installed sun java_plug_in 1.4 and extended the jvm parameters with "-Xrunjprofiler" everything works fine so far, those tem java.prof.??? file were be built after starting my applet in the browser (netscape6.2 and ie 5.0), but if I quit my browser (and so my applet quits) no more things happen and the java.prof file is still empty and all the temporary files still consist. Any hints? By the way my ie is killed sometimes while loading the applet with that jvm parameter.

     
    • Andreas Spoerl

      Andreas Spoerl - 2002-09-13

      Hi Peter,
      I had the same problem and found this workaround: Use Sun's appletviewer (ships with Java SDK) and start the applet with appletviewer instead of  a browser, like

      %JAVA_HOME%\bin\appletviewer -J-Xrunjprofiler http://url/to/your/applet.html

      Regards, Andreas

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.