title: Best and safest Java Profiler for production use?
body: <p>I'm looking for a Java Profiler for use in a very high demand production environment, either commercial or free, that meets all of the following requirements:</p>
  
  <ul>
  <li>Lightweight integration with code (no recompile with special options, no code hooks, etc).  Dropping some profiler specific .jars alongside the application code is ok.</li>
  <li>Should be able to connect/disconnect to the JVM without restarting the application.</li>
  <li>When profiling is not active, no impact to performance</li>
  <li>When profiling is active, negligible impact to performance.  Very slight degradation is acceptable.</li>
  <li>Must do all the 'expected' stuff a profiler does - time spent in each method to find hotspots, object allocation/memory profiling, etc.</li>
  </ul>
  
  <p>Essentially I need something that can sit dormant in production when everything is fine without anyone knowing or caring that it is there, but then be able to connect to it hassle (and performance degradation) free to pinpoint the hard to find problems like hotspots and synchronization issues.</p>