• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Profiling tool for applets using Microsoft JVM?

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I have an applet designed to work in Microsoft JVM. It is slow and sometimes crashes the browser and I doubted that it caused memory leak. Therefore, I wish to have a profiling tool which can collect time and memory consumption from Microsoft JVM.

Please advice.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is sometimes crashes the browser probably can't be helped - the MS JVM is very old and buggy.

You can run the applet offline and profile it like any other Java application, something like the following:

java -classpath C:\j2sdk1.4.2_04\lib\tools.jar -prof sun.applet.AppletViewer appletpage.html

That will produce a profiling file that can be analyzed with any number of tools, e.g ProfileViewer, if I may advertise a tool I worked on myself.
 
Chinh Tran Nam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ulf,
Your tool looks great!
 
You have to be odd to be #1 - Seuss. An odd little ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic