Freewind
Freewind

Reputation: 198328

How to understand and learn `instrument` package of java?

Recently, I found there is a java.lang.instrument package in jdk, which is used by many frameworks to reload classes or profile.

I don't find many articles of using them, is there any resource(book, article, project) to help to understand it?

Upvotes: 11

Views: 824

Answers (2)

Mark Bramnik
Mark Bramnik

Reputation: 42531

I think this link can help to understand a little the usage of java agents:

hope this will help

Upvotes: 9

Nageswara Rao
Nageswara Rao

Reputation: 964

This library is for Java Instrumentation mechanism (Registering a class as MBean server) using JMX. Refer JMX guide

Upvotes: 1

Related Questions