Further to my previous post on YourKit Profiler...
I am using Netbeans 6.1, when I tried hooking netbeans profiler by an option "Integrating with IDE" yourkit profiler did not allow me to do that. (Not sure why was that happening). Since I am using JDK 1.5, I struggled a bit and finally got it working. What I have done...
Step 1: Modified (netbeans installation)\etc\netbeans.conf Hotpsot options
netbeans_default_options="-Xrunyjpagent:help -J-Dcom.sun.aas.installRoot=\"D:\JCAPS\JavaCAPS6\appserver\" -J-Dnetbeans.derby.system.home=\"D:\JCAPS\JavaCAPS6\.netbeans-derby\" -J-client -J-Xss2m -J-Xms32m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=256m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"
Step 2: From command line set an option
set JAVA_TOOL_OPTIONS=-agentlib:yjpagent
and run the netbeans. Now yours kit profiler option "Connect to locally running profiled application..." should help us profile our netbeans.
Hope this will give us an idea how to profile latest IDE versions with YourKit profiler.
Thursday, April 3, 2008
Subscribe to:
Posts (Atom)