Difference between revisions of "Tutorial: Profiling Java Programs"

From dftwiki3
Jump to: navigation, search
(JVisualVM)
(JVisualVM)
Line 18: Line 18:
 
* JVisualVM can be downloaded from [http://visualvm.java.net/download.html visualvm.java.net].  Once you have downloaded and installed it, you should be ready for running the application.
 
* JVisualVM can be downloaded from [http://visualvm.java.net/download.html visualvm.java.net].  Once you have downloaded and installed it, you should be ready for running the application.
 
<onlysmith>
 
<onlysmith>
* The project, as a tar-zipped archive is available [[Media:352PackingV2TutorialVisualVM.tar.zip| here]].
+
* The project, as a tar-zipped archive is available [http://cs.smith.edu/dftwiki/images/352_PackingVisualVMTutorial.tgz here].
 
</onlysmith>
 
</onlysmith>
  

Revision as of 14:11, 30 September 2013

--D. Thiebaut (talk) 15:01, 30 September 2013 (EDT)


This tutorial is intended to give a brief overview of JVisualVM, the profiler for Java. We use this profiler with Eclipse and use a 2D-packing application as our target application. Our goal is to figure out where the program is spending most of its time. The environment used to create this tutorial is VisualVM 1.3.6 running on OS X 10.7.5, and the hardware is a 2.8 GHz dual quad-core MacPro.



Contents




JVisualVM

  • JVisualVM can be downloaded from visualvm.java.net. Once you have downloaded and installed it, you should be ready for running the application.

This section is only visible to computers located at Smith College