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
java.lang.instrument was introduced in JDK™
java.lang.managementpackage - the monitoring and management package, often useful with instrumentation.
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.