Simple (and free) Performance Analysis Tools for Expeditor
VanStaub 120000BGUR Visits (2074)
HPROF can be used to obtain statistics on CPU time for methods/stack traces. HPROF usage details can be found in the article HPROF: A Heap/CPU Profiling Tool in J2SE 5.0. The IBM 1.6 J2SE VM that ships with Expeditor allows HPOF to be used. Details can be found in the IBM SDK documentation under Using the HPROF Profiler. The IBM SDK link also serves as a good starting point for all things JVM related.
With respect to Expeditor's usage of HPROF, update the <wor
When Expeditor exits, it will dump the statistics to a file called java.hprof.txt in the same directory from which you launched Expeditor. Using either you can get an idea of where time is spent. Unfortunately, Expeditor is a large stack, and the time spent in your application may be overshadowed by time spent in core Eclipse or Expeditor. You'll simply have to test with your applications.
An example of output is below.
Eclipse Memory Analyzer
You can use the -Xrunhprof:format=b to create a binary file suitable for import into the Eclipse Memory Analyzer (MAT). MAT will accept either the HPROF or heap dump (PHD) files generated from the dump heap command. MAT can be used to determine if a memory leak is occurring or how memory is allocated to the heap.
Java Visual VM
Java Visual VM can be used to monitor the Expeditor JVM in real time. Do so by creating a JMX connection in Visual VM. To do this in Expeditor, update the rcpi