Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Profiling tool for applets using Microsoft JVM?

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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: 43016
76
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks Ulf,
Your tool looks great!
reply
    Bookmark Topic Watch Topic
  • New Topic