Read Time:25 Second
Profiling makes it possible for developers to track down in what code their application spends its time.
Check out this Eclipse plugin for profiling Java applications. Looks really good. Remote profiling for example on Tomcat is also possible.
See here for installation notes and screenshots
At first glance it works quite well, allthough I didn’t get the Thread Call Graph working. But the comment by Birch below solved that!
Of course I have to mention that JDeveloper has out of the box Profiling ( see here)
4 thoughts on “Profiling in Eclipse”
hi i downloaded the profiler but not able to perform the remote profiling..i am running a simple java application in the same machine and try to profile it as a remote profiling.wht should i do
I downloaded the profiler. Able to install it. I am unable to run remote proiling. I am using Jboss server on the same machine where I am running eclipse IDE.
Here is what I am doing
– in jboss run.bat added the following entries before “echo off”
set JAVA_OPTS=%JAVA_OPTS% -XrunProfilerDLL:1 -Xbootclasspath/a:jakarta-regexp.jar;profiler_trace.jar;commons-lang.jar -D__PROFILER_PACKAGE_FILTER=__A__org.jboss.Main;__M__sun.;__M__com.sun.;__M__java.;__M__javax. -D__PROFILER_TIMING_METHOD=1
– copied the commons-lang.jar jakarta-regexp.jar profiler_trace.jar to bin directory of JBoss
– created remote launch configuration and set host address as needed
– started the jboss server through eclipse server navigator window.
– switched to profiler perspective.
– run the remote profiler
– run ( remote profiler ).
it just show it comming up but never show any profile data.
am I missing something .. ur help appreciated
Thnx Birch, you were right!
Make sure you select a thread window. It usually has ‘main’, and any other threads your app starts. This window is usually right at the top of the perspective.
Comments are closed.