问题
There are a lot of java profilers out there, any recommendations as to what would be best for profiling a java web start application that is being deployed to glassfish inside a war?
回答1:
Well, the traditional answers for such a question are VisualVM and/or Yourkit (if you have money).
If you go for VisualVM, this thread will help you to configure your Webstart application for JMX.
If you go for Yourkit, have a look at this discussion.
回答2:
Here's a quick-and-dirty but simple, free, and effective way. It's language-agnostic, and the way it works is explained here.
来源:https://stackoverflow.com/questions/1874814/profiling-a-java-web-start-application