There's an option to profile all programs that start while yourkit is running for the .net version. Is there an equivalent for the java version? I couldn't find it.
http://www.yourkit.com/docs/net60/help/ ... _local.jsp
Profile local applications while Yourkit is running
-
- Posts: 1
- Joined: Tue Mar 25, 2014 9:21 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: Profile local applications while Yourkit is running
You can specify -agentpath via JAVA_TOOL_OPTIONS environment variable (system-wide) http://docs.oracle.com/javase/7/docs/we ... vvars.html
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Profile local applications while Yourkit is running
Please also consider attaching profiler agent to a running JVM:
http://www.yourkit.com/docs/java/help/attach_agent.jsp
http://www.yourkit.com/docs/java/help/attach_agent.jsp