BTrace 1.1 Released

  4 posts   Feedicon  
Replies: 3 - Last Post: January 08, 2010 09:36
by: herrfluff
showing 1 - 4 of 4
 
Posted: January 06, 2010 15:44 by Jaroslav Bachorik

Good news, everybody!

A new BTrace release is here - primarily focused on improving
performance of the BTrace core and simplifying the usage of BTrace as a
performance monitoring tool.

===================================================================

Release Notes - btrace - Version release-1.1


New Features

  • @ProbeClassName and @ProbeMethodName method argument annotations replace the usage of name(BTraceUtil.probeClass()) and BTraceUtil.probeMethod() constructs (brings significant performance improvements)
  • @Duration method argument annotation gives access to the actual method duration in nanoseconds (there is no need to keep the stack of starting timestamps to be matched at the method exit)
  • BTraceUtil.timeStamp() method can be used to obtain the current date and time (http://kenai.com/jira/browse/BTRACE-17)
  • BTraceUtil.writeDOT() method can be used to dump the object graph of a particular instance to DOT file allowing for visualization in GraphViz


Incompatible Changes

  • @CalledInstance renamed to @TargetInstance as its usage is not bound to Kind.CALL location anymore
  • @CalledMethod renamed to @TargetMethodOrField as it can be used for fields too and its usage is not bound to Kind.CALL location anymore


Bugs



Improvements


===================================================================

Enjoy!


The BTrace Team

 
Posted: January 07, 2010 14:05 by herrfluff
Hi

The first time I invoke Btrace 1.1 on a process everything works perfectly. But when I run BTrace 1.1 the second, third, fourth and so on time against the same process I get the following:

port 2020 not available. exiting


The Java process is listening on that port after the first invocation of BTrace

# netstat -an | grep 2020
      *.2020               *.*                0      0 49152      0 LISTEN


I have no problems runing BTrace version 1.0.2 with the same process and BTrace script.

Am I missing something here?

Configuration: x4270, Solaris 10 u8, Java 1.6 u16
 
Posted: January 07, 2010 15:44 by Jaroslav Bachorik
Seems as a side-effect of http://kenai.com/jira/browse/BTRACE-14
Will you file a new issue for this problem?
 
Posted: January 08, 2010 09:36 by herrfluff
Done and done.

http://kenai.com/jira/browse/BTRACE-31
Replies: 3 - Last Post: January 08, 2010 09:36
by: herrfluff
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close