User:Chloe

From QERM Wiki
Revision as of 00:17, 22 April 2009 by Chloe (Talk | contribs)
Jump to: navigation, search

Java

Evaluating performance on a Mac

Eclipse Test & Performance Tools aren't supported on Mac OS X due to this bug. However, Mac ships with a profiler (you need to install the development tools), Shark, that supports Java. You can find it at /Developer/Applications/Performance Tools. Here's how to get it working:

  1. Add -agentlib:Shark to your VM arguments (i.e. in the run configuration for Eclipse)
  2. Start Shark, and pick 'Java Time Profile' or another Java option in the first drop down
  3. Start your application
  4. Click Start in Shark
  5. Click Stop, or Shark should stop after 30 sec.

Useful links

Migration Literature Review

Personal tools