Print-friendly VersionPrint-friendly Version    Download Documentation

Java™ java.lang.instrument Package

The java.lang.instrument package provides a Java™ programming language API for tools to instrument Java programming language applications -- for example, to monitor them or collect performance information. Tools use java.lang.instrument to modify the class file that defines a class -- generally, by inserting into the byte-code of methods additional byte-code which will perform the instrumentation.

java.lang.instrument was introduced in JDK™ 5.0.

API Specification

API Enhancements

More Information


Discuss
We welcome your participation in our community. Please keep your comments civil and on point. You may optionally provide your email address to be notified of replies — your information is not used for any other purpose. By submitting a comment, you agree to these Terms of Use.