Class YourKitProfiler

Helper for YourKit profiling from within the code.
See the following for information about usage:
- http://www.yourkit.com/docs/95/help/api.jsp
- http://www.yourkit.com/docs/95/api/index.html
This class is a simple helper around the API mentioned above
followed by any amount of snapshotX calls and finally
YourKitContext.stop().
See also YourKitContext.
As of 05/2013 YourKit is not publishing their API jars to Maven, but their
license allows us to do it, so we have setup a repository to do this.
See https://github.com/facebook/sonatype-yourkit for more info.

Create a YourKit controller and do some or all of
Controller.enableExceptionTelemetry()Controller.startCPUProfiling(long, String, String)Controller.startAllocationRecording(boolean, int, boolean,
int, boolean, boolean)
based on boolean config options passed as method parameters

Method Detail

startProfile

Create a YourKit controller and do some or all of
Controller.enableExceptionTelemetry()Controller.startCPUProfiling(long, String, String)Controller.startAllocationRecording(boolean, int, boolean,
int, boolean, boolean)
based on boolean config options passed as method parameters