Thursday, April 3, 2008

How to hook Yourkit Profiler to Netbeans 6.1 (or Latest IDES)

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, March 27, 2008

Java Profiling with Yourkit

Recently I had an opportunity to profile one of EAI product. I was searching lot of profilers for the same, and found very useful and interesting profiler. What I have observed useful with this product are the below...

1. We can integrate any of the following IDE's Eclipse, IntelliJ IDEA, NetBeans, JBuilder, JDeveloper.
2. We can do CPU profiling which produces CPU views: hot spots, method call tree and method list.
3. We can also perform Memory Profiling.
4. We can profile for Threads and Deadlocks.
5. Apart from this this is very easy to use, it will display all the applications which ever is started by profiling option.

I suggest this product for a sensible and easy profiling.

 


Free Page Counters!
mesothelioma attorney