Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [ANN] Eclipse profiler plugin, 0.5.18
[ANN] Eclipse profiler plugin, 0.5.18 [message #21748] Tue, 29 April 2003 01:20 Go to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

http://eclipsecolorer.sourceforge.net

28 Apr 2003 - Version 0.5.18
--------------------------
[+] "Instrument method" option added to "Profiler" tab of launch
configuration. You can specify, what methods should be instrumented,
and what not. There are fairly much methods, which only pass control
to other methods, or does simple check of some condition. Such simple
and short methods usually can by inlined by JVM and almost don't use
CPU. However if profiler instrument them, they become bigger, more
complex and statistics can be affected. Now you can select, instrument
all methods (for example to look on full thread call graph), or
exclude method not bigger, than 50, 100, etc bytes, which does not
contain back braches (i.e. does not have cycles).
[+] "Profile system classes" option added. As you may be noticed, profiler
shows calls not for all methods and classes, in particilar for core
java classes - String, StringBuffer, etc. Problem is that JVM loads
these classes before profiler can set class load hook. When you turn
this option on, profiler will add enter/leave code in each place of
other methods, where methods from system classes (java.lang.*,
java.io.*) are called. This option most usefull for testing profiler,
or writing small examples, for profilers are work. I don't think, that
it can be usefull in real profiling.
[-] Version 0.5.17 was compiled in Java 1.4 compatibility mode, so plugin
could not be loaded when Eclipse started with JDK 1.3. Now I compile it
with JDK 1.3 again.
Re: [ANN] Eclipse profiler plugin, 0.5.18 [message #22105 is a reply to message #21748] Tue, 29 April 2003 09:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arnout.standaert.n-o-s-p-a-m.cit.kuleuven.ac.be

scheglov_ke@nlmk.ru (Konstantin Scheglov) wrote:

> http://eclipsecolorer.sourceforge.net
>
> 28 Apr 2003 - Version 0.5.18
> --------------------------
<snip>

If you don't have the Eclipse PDE plugins installed, Profiler won't
load because it needs the org.eclipse.pde.ui plugin. Commenting out
the corresponding line in the plugin.xml file will make it load
properly.

Maybe it would be a good idea to add this information to the
install docs, so new users don't have to search the newsgroup
archives for this information.

Aside from that, thanks for a great plugin!

Arnout
Re: [ANN] Eclipse profiler plugin, 0.5.18 [message #23119 is a reply to message #22105] Tue, 29 April 2003 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Konstantin, if the plugin runs with the pde dependency commented out then
you can add optional="true" to the import element to allow it to work with
all Eclipse build types.

Bob

"Wald" <arnout.standaert@n-o-s-p-a-m.cit.kuleuven.ac.be> wrote in message
news:Xns936C9DE2ADF5Aarnoutstandaertagrku@204.138.98.10...
> scheglov_ke@nlmk.ru (Konstantin Scheglov) wrote:
>
> > http://eclipsecolorer.sourceforge.net
> >
> > 28 Apr 2003 - Version 0.5.18
> > --------------------------
> <snip>
>
> If you don't have the Eclipse PDE plugins installed, Profiler won't
> load because it needs the org.eclipse.pde.ui plugin. Commenting out
> the corresponding line in the plugin.xml file will make it load
> properly.
>
> Maybe it would be a good idea to add this information to the
> install docs, so new users don't have to search the newsgroup
> archives for this information.
>
> Aside from that, thanks for a great plugin!
>
> Arnout
Re: [ANN] Eclipse profiler plugin, 0.5.18 [message #25330 is a reply to message #21748] Thu, 01 May 2003 00:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Eric Rizzo wrote:

> > http://eclipsecolorer.sourceforge.net
> > 28 Apr 2003 - Version 0.5.18
> I'm having problems getting this integrated with my JBoss run script. I
> followed the instructions at above URL (copied DLL to JRE\bin, copied
> JARs to JBoss/bin, modified run.bat), but when starting JBoss for a
> remote profile, it complains that the Trace class is not found. Below is
> my script output - anyone have any ideas what's wrong?
Here is one sentence from doc:
"Then copy jar's: bcel.jar commons-lang.jar jakarta-regexp.jar
profiler_trace.jar to bin directory of JBoss."
Did you copy also three other JAR's to bin directory? You can also
try to specify full path to these JAR's (place in in some short path).


> TIA,
> Eric
> --
> Eric Rizzo
> Software Architect
> Jibe, Inc.
> http://www.jibeinc.com


>
============================================================ ===================
> .
> JBoss Bootstrap Environment
> .
> JBOSS_HOME: C:\Java\eclipse\workspace\JibeGen2-Admin\build-admin\bin\\..
> .
> JAVA: c:\java\jdk\1.3.1\bin\java
> .
> JAVA_OPTS: -XrunProfilerDLL:1
>
-Xbootclasspath/a:jakarta-regexp.jar;bcel.jar;profiler_trace .jar;commons-lang.jar
> -D__PROFILER_PACKAGE_FILTER=__A__org.jboss.Mai
> n;__M__sun.;__M__com.sun.;__M__java.;__M__javax.
> -D__PROFILER_USE_PACKAGE_FILTER
> =1 -D__PROFILER_TIMING_METHOD=1 -Dprogram.name=run.bat
>
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces .jaxp.DocumentBuilderFactoryImpl
>
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp. SAXParserFactoryImpl

> .
> CLASSPATH:
> ;c:\java\jdk\1.3.1\lib\tools.jar;C:\Java\eclipse\workspace\J ibeGen2
> -Admin\build-admin\bin\\run.jar;../lib/xerces.jar;../lib/xml ParserAPIs.jar;
> .
>
============================================================ ===================
> .
> param: 1
> Exception in thread "main" java.lang.NoClassDefFoundError:
> ru/nlmk/eclipse/plugi
> ns/profiler/trace/Trace
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286 )
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313 )
> Press any key to continue . . .
Re: [ANN] Eclipse profiler plugin, 0.5.18 [message #25370 is a reply to message #23119] Thu, 01 May 2003 00:37 Go to previous message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Bob Foster wrote:

Thank you, with optional="true" plugin starts, even if I remove all PDE
plugins. Next version will have this option.

> Konstantin, if the plugin runs with the pde dependency commented out then
> you can add optional="true" to the import element to allow it to work with
> all Eclipse build types.

> Bob

> "Wald" <arnout.standaert@n-o-s-p-a-m.cit.kuleuven.ac.be> wrote in message
> news:Xns936C9DE2ADF5Aarnoutstandaertagrku@204.138.98.10...
> > scheglov_ke@nlmk.ru (Konstantin Scheglov) wrote:
> >
> > > http://eclipsecolorer.sourceforge.net
> > >
> > > 28 Apr 2003 - Version 0.5.18
> > > --------------------------
> > <snip>
> >
> > If you don't have the Eclipse PDE plugins installed, Profiler won't
> > load because it needs the org.eclipse.pde.ui plugin. Commenting out
> > the corresponding line in the plugin.xml file will make it load
> > properly.
> >
> > Maybe it would be a good idea to add this information to the
> > install docs, so new users don't have to search the newsgroup
> > archives for this information.
> >
> > Aside from that, thanks for a great plugin!
> >
> > Arnout
Previous Topic:editor preferences
Next Topic:linking problem in a plug-in
Goto Forum:
  


Current Time: Sun Jul 06 11:06:14 EDT 2025

Powered by FUDForum. Page generated in 0.03846 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top