Get GlassFish V2
Purchase Support Worldwide
« Building GFv3 with... | Main | Java CAPS 6 Released... »
Jun 08
16
BTrace showing promises
  Posted by alexismp in GlassFish

Btrace

Btrace is essentially a (new and) portable DTrace - a safe (read, not write), low-overhead, probe-based dynamic tracing tool. Btrace offers Java annotations to define what could be considered as troubleshooting interceptors ("probe points").

While BTrace applies to any Java application development, in the case of GlassFish, BTrace can be used to observe specific parts of the system or better yet, correlate events between it various parts. Athijegannathan has a recent post about a BTrace script tracking SQL statements (courtesy of a BTrace user) while Binod shares his experience of SailFin troubleshooting with BTrace.

Because BTrace is guaranteed to be safe (read-only, time-bound), it cannot throw/catch exceptions, create new objects/arrays, etc... These restrictions and more importantly all you need to get started is available in the BTrace Users's Guide. Check also the recent JavaOne slides. Finally, a VisualVM plugin for BTrace is in the works and will make a nice addition to the GlassFish plugin for VisualVM.

Comments:

Post a Comment:

Comments are closed for this entry.

Languages

Companion Sites

Search

Popular Tags

adoption ajax clustering community fastinfoset frontpage glassfish grizzly hudson java javaee javaee6 javaone jax-rs jax-ws jaxb jboss jcp jersey jmaki jruby jsf liferay maven metro mysql netbeans notd opends openesb opensource opensso performance php portal rails rest roller ruby sailfin scripting sip sun tools updatecenter v2 v3 webserver webservices wsit

Useful Pointers

Friends and Relatives

Subscribe

Enter your Email

Contact Us

Send feedback and leads to theaquarium@sun.com

Downloads

Events


Adoption Stories

Related Links

Recent Entries

Latest Project News

Navigation