Dynamic Instrumentation of Java Statically Defined Tracing
Java statically defined tracing (JSDT) enables programmers to statically add probes to their code and activate them when required, using as a framework Oracle Solaris' DTrace feature. JSDT follows user-land statically defined tracing (USDT) for C/C++, but in Java it can be taken further: let's use the Java Attach API and the class-redefinition capabilities to turn static into dynamic. In this session, hear how to easily use the DTrace framework to dynamically instrument a running Java program with JSDT probes. Gain tremendous tracing power with no static change to the code, no recompile, and no performance impact when the probes are not activated.
Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.