11

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?

Bo Persson
  • 90,663
  • 31
  • 146
  • 203
Freewind
  • 193,756
  • 157
  • 432
  • 708

2 Answers2

9

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

hope this will help

Sean Patrick Floyd
  • 292,901
  • 67
  • 465
  • 588
Mark Bramnik
  • 39,963
  • 4
  • 57
  • 97
1

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

Nageswara Rao
  • 954
  • 1
  • 10
  • 32