AspectJ also does a pretty good job. But all in all, it depends what you want to extract from the execution. Which kind of metric or data are you interested in ?
We are currently writing an agent for the JVM to extract low level data.
Cheers, Alexandre
On 19 Dec 2011, at 09:50, Sergio Castro wrote:
On 19/12/11 13:09, moose-dev-request@iam.unibe.ch wrote:
Message: 2 Date: Mon, 19 Dec 2011 05:07:39 +0100 From: Tudor Girbatudor@tudorgirba.com Subject: [Moose-dev] java (jboss) dynamic instrumentation? To: Moose-dev Moose Devmoose-dev@iam.unibe.ch Message-ID:56F679FD-8623-4A68-BD18-B7C3B3C3D340@tudorgirba.com Content-Type: text/plain; charset=us-ascii
Hi,
Can anyone recommend an dynamic instrumentation tool for Java?
I am interested in a solution that would work also on the server side (in particular, inside a JBoss server).
I found some links, but I do not know how good they are: http://java-source.net/open-source/profilers
Cheers, Doru
-- www.tudorgirba.com
"Reasonable is what we are accustomed with."
As far as I know, Javassist is what you need. I have used it for byte code instrumentation and is relatively easy to learn and use, if I remember correctly JBoss provides support for it. Take a look to: http://www.jboss.org/javassist
Sergio _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev