jrat-development Mailing List for ShiftOne JRat (Runtime Analysis Toolkit)
Brought to you by:
jeffdrost
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
(3) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(2) |
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Linfei Li <rjl...@gm...> - 2012-04-20 11:47:16
|
PS, i packaged codes from svn/trunk, it worked, but it could not generate traces .. On Fri, Apr 20, 2012 at 7:43 PM, Linfei Li <rjl...@gm...> wrote: > Hi all, > I downloaded shiftone-jrat-1-beta1.jar, it worked very well, > i want to have a look at its code and do some local change, but code on > SVN is not complete..... > where can i get the complete code version..??? > > help.. > thanks > > -- > > Best wishes, > Yours sincerely, Linfei Li > > -- Best wishes, Yours sincerely, Linfei Li MSE10,Tsinghua University E-Mail : rjl...@gm... Tel : (+86)13621064832 |
|
From: Linfei Li <rjl...@gm...> - 2012-04-20 11:43:11
|
Hi all, I downloaded shiftone-jrat-1-beta1.jar, it worked very well, i want to have a look at its code and do some local change, but code on SVN is not complete..... where can i get the complete code version..??? help.. thanks -- Best wishes, Yours sincerely, Linfei Li |
|
From: <ms...@25...> - 2009-12-10 12:28:03
|
Hi,
i´m playing around with jRAT from shiftone-jrat-1-beta1.zip
(JRAT beta1 && JBOSS5.1 && IBM JAVA 1.6)
I experienced the following problems:
- A working default configuration should be provided
- I added the following line to run.conf of jboss:
JAVA_OPTS="$JAVA_OPTS -javaagent:/opt/jboss/lib/shiftone-jrat.jar -Djboss.shutdown.forceHalt=false "
- My config looks like this:
---
# cat jrat.xml
<?xml version="1.0" encoding="UTF-8"?>
<jrat>
<!-- ********************************************************************
** Java Runtime Analysis Toolkit Configuration **
** sample, default configuration file - modify as need **
** Author : Jeff Drost **
********************************************************************* -->
<settings>
<property name="httpServerEnabled" value="true"/>
</settings>
<!--
A profile defines a set of handlers and the criteria that must
be satisfied in order for a method to be monitored with those handlers.
In a single configuration file you can have multiple profile.
-->
<profile name="my code">
<criteria>
<include/>
<!--
<include className=".*" methodName=".*" signature=".*"/>
<include className="de.foo.*" methodName="*" signature="*"/>
<exclude className="org.jboss.*" methodName="*" signature="*"/>
<include/>
-->
<exclude className="org.jboss.*" methodName="*" signature=".*"/>
</criteria>
<handlers>
<!--
The Tree Method Handler is the general purpose included method handler,
but you can choose to write your own. Simply implement MethodHandlerFactory
and get ready to receieve runtime events.
-->
<handler factory="org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory">
<property name="outputFile" value="my_code_tree.jrat"/>
</handler>
</handlers>
</profile>
</jrat>
---
- My message driven bean code (de.foo.*) is executed, but i cannot see any data related to my classes
(other classes a logged - i.e. org.apache.log4j classes)
- If i stop the jvm and inspect the my_code_tree.jrat file, i cannot see any de.foo.* classes/methods
Best regards
Marc Schöchlin
--
|
|
From: <ms...@25...> - 2009-12-10 12:26:28
|
Hi,
i´m playing around with jRAT from shiftone-jrat-1-beta1.zip
I experienced the following problems:
- The mail address jr...@sh... seems not to be available anymore
(but it is still in the wiki)
- A working default configuration should be provided
- I added the following line to run.conf of jboss:
JAVA_OPTS="$JAVA_OPTS -javaagent:/opt/jboss/lib/shiftone-jrat.jar -Djboss.shutdown.forceHalt=false "
=> Jboss crashes while starting up, if i remove this line jboss starts properly
(see log output beyond)
=> see the attached jrat.xml file, which was generated by jrat
(see config file beyond)
Best regards
Marc Schöchlin
# /etc/init.d/jboss start; tail -f /opt/jboss/log/jboss.log
Starting JBoss application server: done
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss
JAVA: /usr/lib64/jvm/jre/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Xms512m -Xmx768m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dcom.sun.management.jmxremote.port=21099 -Dcom.sun.management.jmxremote.password.file=/opt/jboss/server/default/conf/jmx.password -Dcom.sun.management.jmxremote.access.file=/opt/jboss/server/default/conf/jmx.access -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.130.61.25 -Dcom.sun.management.jmxremote -javaagent:/opt/jboss/lib/shiftone-jrat.jar -Djboss.shutdown.forceHalt=false -Djava.net.preferIPv4Stack=true
CLASSPATH: /opt/jboss/bin/run.jar
=========================================================================
JRat:INFO (Dec/10 12:34:07,939) (main) Mode - set Mode[runtime]
JRat:INFO (Dec/10 12:34:07,942) (main) ResourceUtil - getPreferences resource : org/shiftone/jrat/version.properties
JRat:INFO (Dec/10 12:34:07,945) (main) Agent - Installing JRat 1-beta1 ClassFileTransformer...
JRat:INFO (Dec/10 12:34:07,946) (main) Mode - locking
JRat:INFO (Dec/10 12:34:07,947) (main) Environment - Initializing configuration file with default...
JRat:INFO (Dec/10 12:34:07,947) (main) Environment - Edit this file to further configure JRat.
JRat:INFO (Dec/10 12:34:07,947) (main) ResourceUtil - getPreferences resource : org/shiftone/jrat/core/default-jrat.xml
JRat:INFO (Dec/10 12:34:07,949) (main) Environment - Loading JRat Configuration : /opt/jboss-5.1.0.GA/bin/jrat.xml...
JRat:INFO (Dec/10 12:34:07,956) (main) Environment - File was last modified Thu Dec 10 12:34:07 CET 2009
JRat:INFO (Dec/10 12:34:07,960) (main) Configuration - exclude java.*
JRat:INFO (Dec/10 12:34:07,962) (main) Configuration - exclude javax.*
JRat:INFO (Dec/10 12:34:07,963) (main) ConfigurationParser - parsing configuration...
JRat:INFO (Dec/10 12:34:08,023) (main) PropertyUtil - org.shiftone.jrat.core.config.Settings.httpServerEnabled = true
JRat:INFO (Dec/10 12:34:08,026) (main) ConfigurationParser - processCriteria <MatcherMethodCriteria><Class><All/></Class><Method><All/></Method><Signature><All/></Signature></MatcherMethodCriteria>
JRat:INFO (Dec/10 12:34:08,029) (main) ServiceFactory - new
JRat:INFO (Dec/10 12:34:08,036) (main) ShutdownRegistry - new
JRat:INFO (Dec/10 12:34:08,036) (main) ShutdownRegistry - registerShutdownListener Transformer[ASM]
JRat:INFO (Dec/10 12:34:08,037) (main) InjectClassFileTransformer - new
JRat:INFO (Dec/10 12:34:08,038) (main) Agent - Installed TryCatchClassFileTransformer[SystemPropertyTweakingTransformer[FilterClassFileTransformer[org.shiftone.jrat.core.config.Configuration@74637463 : InjectClassFileTransformer[Transformer[ASM]]]]].
JRat:INFO (Dec/10 12:34:08,076) (main) ConfigMethodHandlerFactory - Loading profile 'my code'...
JRat:INFO (Dec/10 12:34:08,076) (main) ConfigMethodHandlerFactory - Loading factory org.shiftone.jrat.core.config.Handler@655c655c...
JRat:INFO (Dec/10 12:34:08,081) (main) PropertyUtil - org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory.outputFile = my_code_tree.jrat
JRat:INFO (Dec/10 12:34:08,082) (main) RuntimeContextImpl - new
JRat:INFO (Dec/10 12:34:08,084) (main) ShutdownRegistry - registerShutdownListener FileOutputRegistry[]
JRat:INFO (Dec/10 12:34:08,086) (main) IOUtil - mkdir(/opt/jboss-5.1.0.GA/bin/jrat.output)
JRat:INFO (Dec/10 12:34:08,086) (main) IOUtil - mkdir(/opt/jboss-5.1.0.GA/bin/jrat.output/2009-12-10_PM-12-34-08)
JRat:INFO (Dec/10 12:34:08,086) (main) OutputDirectory - output DIR = /opt/jboss-5.1.0.GA/bin/jrat.output/2009-12-10_PM-12-34-08
JRat:INFO (Dec/10 12:34:08,088) (main) CommandletRegistry - register org.shiftone.jrat.core.command.ListRegistryCommandlet@50f550f5
JRat:INFO (Dec/10 12:34:08,089) (main) CommandletRegistry - register org.shiftone.jrat.core.command.SystemPropertiesCommandlet@5a2a5a2a
JRat:INFO (Dec/10 12:34:08,089) (main) CommandletRegistryFactory - Starting tiny web server...
JRat:INFO (Dec/10 12:34:08,090) (HTTP) TinyWebServer - starting on port 8888...
JRat:INFO (Dec/10 12:34:08,091) (main) FileOutputFactory - createWriter /opt/jboss-5.1.0.GA/bin/jrat.output/2009-12-10_PM-12-34-08/memory.csv
JRat:INFO (Dec/10 12:34:08,091) (main) FileOutputFactory - createOutputStream /opt/jboss-5.1.0.GA/bin/jrat.output/2009-12-10_PM-12-34-08/memory.csv
JRat:INFO (Dec/10 12:34:08,092) (main) FileOutputRegistry - add Writer[memory.csv]
JRat:INFO (Dec/10 12:34:08,093) (main) ShutdownRegistry - registerShutdownListener Memory Monitor
JRat:INFO (Dec/10 12:34:08,095) (main) ConfigMethodHandlerFactory - startup
JRat:INFO (Dec/10 12:34:08,096) (main) ShutdownRegistry - registerShutdownListener Tree Handler Factory
JRat:INFO (Dec/10 12:34:08,097) (main) CommandletRegistry - register org.shiftone.jrat.provider.tree.command.ResetCommandlet@44af44af
JRat:INFO (Dec/10 12:34:08,097) (main) CommandletRegistry - register org.shiftone.jrat.provider.tree.command.WriteOutputCommandlet@4c6f4c6f
JRat:INFO (Dec/10 12:34:08,099) (main) CommandletRegistry - register org.shiftone.jrat.provider.tree.command.DumpOutputCommandlet@52f352f3
12:34:08,475 INFO [ServerImpl] Starting JBoss (Microcontainer)...
12:34:08,476 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
12:34:08,477 INFO [ServerImpl] Bootstrap URL: null
12:34:0URL: file:/opt/jboss-5.1.0.GA/server/
12:34:08,482 INFO [ServerImpl] Server Config URL: file:/opt/jboss-5.1.0.GA/server/default/conf/
12:34:08,482 INFO [ServerImpl] Server Home Dir: /opt/jboss-5.1.0.GA/server/default
12:34:08,483 INFO [ServerImpl] Server Home URL: file:/opt/jboss-5.1.0.GA/server/default/
12:34:08,483 INFO [ServerImpl] Server Data Dir: /opt/jboss-5.1.0.GA/server/default/data
12:34:08,483 INFO [ServerImpl] Server Library URL: file:/opt/jboss-5.1.0.GA/server/default/lib/
12:34:08,484 INFO [ServerImpl] Server Log Dir: /opt/jboss-5.1.0.GA/server/default/log
12:34:08,484 INFO [ServerImpl] Server Native Dir: /opt/jboss-5.1.0.GA/server/default/tmp/native
12:34:08,484 INFO [ServerImpl] Server Temp Dir: /opt/jboss-5.1.0.GA/server/default/tmp
12:34:08,485 INFO [ServerImpl] Server Temp Deploy Dir: /opt/jboss-5.1.0.GA/server/default/tmp/deploy xinclude.XIncludeHandler.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse_$jrat(SaxJBossXBParser.java:173)
... 14 more
JRat:INFO (Dec/10 12:34:10,143) (JRat-Shutdown) ShutdownRegistry - shutting down...[Transformer[ASM], FileOutputRegistry[Writer[memory.csv], PrintWriter[jrat.log]], Memory Monitor, Tree Handler Factory]
12:34:10,143 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: false
JRat:INFO (Dec/10 12:34:10,144) (JRat-Shutdown) ShutdownRegistry - shutting down Tree Handler Factory...
JRat:INFO (Dec/10 12:34:10,144) (JRat-Shutdown) TreeMethodHandlerFactory - shutdown...
JRat:INFO (Dec/10 12:34:10,145) (JRat-Shutdown) TreeMethodHandlerFactory - writeOutputFile...
JRat:INFO (Dec/10 12:34:10,171) (JRat-Shutdown) FileOutputFactory - createOutputStream /opt/jboss-5.1.0.GA/bin/jrat.output/2009-12-10_PM-12-34-08/my_code_tree.jrat
JRat:INFO (Dec/10 12:34:10,171) (JRat-Shutdown) FileOutputFactory - createOutputStream /opt/jboss-5.1.0.GA/bin/jrat.output/2009-12-10_PM-12-34-08/my_code_tree.jrat
JRat:INFO (Dec/10 12:34:10,173) (JRat-Shutdown) FileOutputRegistry - add OutputStream[my_code_tree.jrat]
12:34:10,257 INFO [ServerImpl] Shutdown complete
Shutdown complete
JRat:INFO (Dec/10 12:34:10,659) (JRat-Shutdown) FileOutputOutputStream - closing
JRat:INFO (Dec/10 12:34:10,659) (JRat-Shutdown) FileOutputRegistry - remove OutputStream[my_code_tree.jrat]
JRat:INFO (Dec/10 12:34:10,660) (JRat-Shutdown) TreeMethodHandlerFactory - shutdown co
# cat jrat.xml
<?xml version="1.0" encoding="UTF-8"?>
<jrat>
<!-- ********************************************************************
** Java Runtime Analysis Toolkit Configuration **
** sample, default configuration file - modify as need **
** Author : Jeff Drost **
********************************************************************* -->
<settings>
<property name="httpServerEnabled" value="true"/>
</settings>
<!--
A profile defines a set of handlers and the criteria that must
be satisfied in order for a method to be monitored with those handlers.
In a single configuration file you can have multiple profile.
-->
<profile name="my code">
<criteria>
<!--
A profile's handlers are used if any of the includes are
satisfied and none of the excludes are.
( includeA or includeB... ) and ( not( excludeA or excludeB... ) )
-->
<!--
<include className="*" methodName="*" signature="*"/>
<exclude className="*" methodName="*" signature="*"/>
-->
<include/>
</criteria>
<handlers>
<!--
The Tree Method Handler is the general purpose included method handler,
but you can choose to write your own. Simply implement MethodHandlerFactory
and get ready to receieve runtime events.
-->
<handler factory="org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory">
<property name="outputFile" value="my_code_tree.jrat"/>
</handler>
</handlers>
</profile>
</jrat>
--
http://www.xing.com/profile/Marc_Schoechlin/
jabber: ms...@25...
|
|
From: Justin S. <js...@bi...> - 2009-11-19 22:53:41
|
When I run with the jrat agent, my annotation driven jaxb unmarshaler fails with an error about "JAXB can't handle interfaces". The strange thing is JAXB complains about an object property which is marked as @XMLTransient, so jaxb should not even care about it. Any idea why the code runs just fine without jrat? |
|
From: Virilo T. <vi...@gm...> - 2009-11-05 13:02:14
|
Hi.
I have installed JRat on my development environment. My purpose is to
profile an Alfresco installation.
Firstly, I have copied shiftone-jrat.jar into C:\alfresco-enterprise-tomcat
and modified catalina.bat to use JRat:
%_EXECJAVA% *-javaagent:shiftone-jrat.jar
-Djrat.factory=org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory
*%JAVA_OPTS%
%CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%"
-classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%"
-Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%"
%MAINCLASS% %CMD_LINE_ARGS% %ACTION%
After first execution, JRat have created jrat.xml file automatically.
Then, I have commented include tag and modified it to include two packages
(and subpackages)
<!--
<include/>
-->
<include className="org.corporation.*" methodName="*"
signature="*"/>
<include className="org.alfresco.*" methodName="*"
signature="*"/>
Later, I have started Alfresco-Tomcat, I have executed some queries on
Alfresco.
Finally I have stopped Alfresco and examined the generated my_code_tree.jrat
file with the console.
The problem is that JRat Desktop don’t show my any information. I have
looked into “Summary”, “Trace” and “Hierarchy” tags; and all the three the
tags are empty.
What am I doing wrong?
Thanks in advance.
Virilo.
|
|
From: Bernd <ber...@we...> - 2007-09-25 16:07:36
|
Hi,
the download file shiftone-jrat-1-beta1.zip is
broken:
bernd@susi ~ $ file shiftone-jrat-1-beta1.zip
shiftone-jrat-1-beta1.zip: Zip archive data, at least v1.0 to extract
bernd@susi ~ $ unzip shiftone-jrat-1-beta1.zip
Archive: shiftone-jrat-1-beta1.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of shiftone-jrat-1-beta1.zip or
shiftone-jrat-1-beta1.zip.zip, and cannot find shiftone-jrat-1-beta1.zip.ZIP, period.
Can someone please correct this?
Others in the forum confirmed this.
Thanks in advance,
Bernd
|
|
From: Pierre G. <pie...@gm...> - 2007-07-26 15:33:26
|
Hello every one, I have a simple question : is jrat suited to profile multi-threaded application. I just wanted to know if context switches are problematic for this tool or not, especially for the time spent in a method. Excuse me if this question stupid but I'm a newbie... Thanks in advance, Pierre |
|
From: Drew G. <dre...@ya...> - 2005-11-21 03:09:57
|
I've also added my eclipse project with the source zipped up: http://home.covad.net/~agulino/jrat/jrat2-fat-eclipse.zip I will remove both files after I gets some feedback so as not to confuse the distribution. --- Drew Gulino <dre...@ya...> wrote: > Date: Sat, 19 Nov 2005 13:25:33 -0800 (PST) > From: Drew Gulino <dre...@ya...> > Subject: JRat UI updates > To: jra...@li... > > I've been trying out JRat for a while, and I felt a > few changes to the UI could make it into a much > better > tool. > I checkedout jrat from the sourceforge CVS, and made > some of them. > Here > (http://home.covad.net/~agulino/jrat/jrat2_fat.jar) > is > an executable jar for your perusal. I'd > love to be added as a developer so I can check these > changes in. > > Here's a summary of the changes: > > 1) I applied the patch that was created by billjdap. > > The main reason I needed this fix was the min/max > mixup in the TreeMethod view. I also think the max > threads entry will be useful. > > 2) Created new formats for each column type > (float,double,etc) to line up the numbers/decimal > points in each column in the TreeMethod view. Needs > to be done in the rest of the views as well. > > 3) Added Glazed List filtering > (http://publicobject.com/glazedlists - it's > distributed under the LGPL & MPL) of class/method > names to the StatMethod view. Also used Glazed List > column sorting (kinda weird interface, > differentiates > betweenn single/double clicks, but allows > multi-column > sorting). The filtering is like in iTunes - > realtime > as you type. Try "org. get" on any open source > project. > > 4) Added a few columns (still not sure if the added > entries are exactly what's needed) in the RateMethod > view, and provided more room to see the > classes/method > names. > > 5) To handle the added dependency on the Glazed List > library and still distribute as a single executable > jar, I used the FatJar plugin > (http://fjep.sourceforge.net/), which in turn uses > One-Jar (http://one-jar.sourceforge.net/) to enable > embeding jars inside executable jars. Seems to > work. > > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
|
From: jeff d. <je...@dr...> - 2005-11-20 00:45:16
|
I finally looked at this and BCEL's latest release isn't 1.5 compatible. I have built BCEL from the latest source and 1.5 works. I have made the BCEL jar file is available. http://prdownloads.sourceforge.net/jrat/bcel-326809.jar?download Thanks, Jeff -----Original Message----- From: jra...@li... [mailto:jra...@li...] On Behalf Of Joseph Xu Sent: Tuesday, August 16, 2005 7:14 PM To: jra...@li... Subject: [Jrat-development] Does JRat support Java 1.5? Hi: Does JRat support Java 1.5? Joseph Xu -- Get the Firefox browser. It's better than Internet Explorer. Really. http://www.mozilla.org/products/firefox ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Jrat-development mailing list Jra...@li... https://lists.sourceforge.net/lists/listinfo/jrat-development |
|
From: Drew G. <dre...@ya...> - 2005-11-19 21:25:43
|
I've been trying out JRat for a while, and I felt a few changes to the UI could make it into a much better tool. I checkedout jrat from the sourceforge CVS, and made some of them. Here (http://home.covad.net/~agulino/jrat/jrat2_fat.jar) is an executable jar for your perusal. I'd love to be added as a developer so I can check these changes in. Here's a summary of the changes: 1) I applied the patch that was created by billjdap. The main reason I needed this fix was the min/max mixup in the TreeMethod view. I also think the max threads entry will be useful. 2) Created new formats for each column type (float,double,etc) to line up the numbers/decimal points in each column in the TreeMethod view. Needs to be done in the rest of the views as well. 3) Added Glazed List filtering (http://publicobject.com/glazedlists - it's distributed under the LGPL & MPL) of class/method names to the StatMethod view. Also used Glazed List column sorting (kinda weird interface, differentiates betweenn single/double clicks, but allows multi-column sorting). The filtering is like in iTunes - realtime as you type. Try "org. get" on any open source project. 4) Added a few columns (still not sure if the added entries are exactly what's needed) in the RateMethod view, and provided more room to see the classes/method names. 5) To handle the added dependency on the Glazed List library and still distribute as a single executable jar, I used the FatJar plugin (http://fjep.sourceforge.net/), which in turn uses One-Jar (http://one-jar.sourceforge.net/) to enable embeding jars inside executable jars. Seems to work. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
|
From: Joseph Xu <jos...@gm...> - 2005-08-16 23:13:37
|
Hi: Does JRat support Java 1.5? Joseph Xu --=20 Get the Firefox browser. It's better than Internet Explorer. Really. http://www.mozilla.org/products/firefox |
|
From: jeff d. <je...@dr...> - 2005-08-01 11:10:47
|
JRat instruments static methods, but not constructors. The problem with timing constructors is that the super constructor must be called first, which means I can't really start a timer at the beginning of execution. Also, the output that is generated is based on the handler you use. Most only generate one output for all threads. Do you want output to be separated by thread (this is easy). Thanks, Jeff _____ From: jra...@li... [mailto:jra...@li...] On Behalf Of Borade, Prakash (Cognizant) Sent: Monday, August 01, 2005 12:55 AM To: jra...@li.... Subject: [Jrat-development] Does JRat Instruments the Static methods and Constructors also Hi All, Does JRat Instruments the 1. Static methods 2. Constructors. If JRat Supports Web Application then will there be two different output Generated for 2 different threads.(i.e 2 url hits). Because I found only one output generated. If anyone knows please let me know.. Thanking you.. Regards, Prakash This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com |
|
From: Borade, P. \(Cognizant\) <Pra...@co...> - 2005-08-01 04:55:31
|
Hi All, =0D Does JRat Instruments the 1. Static methods=0D 2. Constructors. If JRat Supports Web Application then will there be two different output Generated for 2 different threads.(i.e 2 url hits).=0D Because I found only one output generated. =0D If anyone knows please let me know.. =0D Thanking you.. =0D =0D Regards, Prakash =0D This e-mail and any files transmitted with it are for the sole use of the= intended recipient(s) and may contain confidential and privileged= information. If you are not the intended recipient, please contact the sender by reply= e-mail and destroy all copies of the original message.=0D Any unauthorised review, use, disclosure, dissemination, forwarding,= printing or copying of this email or any action taken in reliance on this= e-mail is strictly=0D prohibited and may be unlawful. Visit us at http://www.cognizant.com |
|
From: jeff d. <je...@dr...> - 2005-07-16 12:49:46
|
What do you want this handler to do? You basically need to implement classes that implement the interfaces. org.shiftone.jrat.core.spi.MethodHandlerFactory org.shiftone.jrat.core.spi.MethodHandler Take a look at the StatMethodHandler (which is fairly simple) and let me know if you have any questions. Note that if you want to write out a file after the system shuts down you also need to register for the shutdown event with the RuntimeContext - an argument that is passed to your MethodHandlerFactory when it is initialized. Thanks, Jeff Drost ________________________________________ From: jra...@li... [mailto:jra...@li...] On Behalf Of Borade, Prakash (Cognizant) Sent: Saturday, July 16, 2005 7:58 AM To: jrat mailing list Subject: [Jrat-development] How to write custom handlers for JRAT Hi All, I would like to write a custom handler for JRAT. How do I start with it. What are the pre-requisites for the same. Can anybody help me. Thanks Prakash |
|
From: Borade, P. \(Cognizant\) <Pra...@co...> - 2005-07-16 11:58:06
|
Hi All, =0D I would like to write a custom handler for JRAT. How do I start with it. What are the pre-requisites for the same... Can anybody help me... =0D =0D Thanks=0D Prakash =0D This e-mail and any files transmitted with it are for the sole use of the= intended recipient(s) and may contain confidential and privileged= information. If you are not the intended recipient, please contact the sender by reply= e-mail and destroy all copies of the original message.=0D Any unauthorised review, use, disclosure, dissemination, forwarding,= printing or copying of this email or any action taken in reliance on this= e-mail is strictly=0D prohibited and may be unlawful. Visit us at http://www.cognizant.com |