Profile local applications while Yourkit is running

Questions about YourKit Java Profiler
Post Reply
zaloo
Posts: 1
Joined: Tue Mar 25, 2014 9:21 pm

Profile local applications while Yourkit is running

Post by zaloo »

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
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Re: Profile local applications while Yourkit is running

Post by Vladimir Kondratyev »

You can specify -agentpath via JAVA_TOOL_OPTIONS environment variable (system-wide) http://docs.oracle.com/javase/7/docs/we ... vvars.html
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profile local applications while Yourkit is running

Post by Anton Katilin »

Please also consider attaching profiler agent to a running JVM:

http://www.yourkit.com/docs/java/help/attach_agent.jsp
Post Reply