The easiest way to make a start on implementing the JMX beans is to fulfill the VM interfaces for the relatively simple beans. These are the runtime, class loading and compilation beans.
Most of these can be fulfilled by probing existing RVM properties or calling existing methods. The main issues are:
- Recording and returning the start time of the VM
- Recording and returning the number of classes loaded/unloaded
- Recording and returning the amount of time spent compiling