There are various ways to access the JRockit management features programmatically, all of them more or less unsupported. As the APIs in question are unsupported, they are subject to change between JRockit releases or even to disappear entirely. This means that dependencies on these APIs may break between releases of JRockit. Because the APIs can be quite useful, this chapter will nevertheless show a few different ones, with their applications.
In this chapter, you will learn:
How to use the JRockit Management API (JMAPI) to access runtime information in the JRockit JVM
How to instantiate and access the JMX-based JRockit Management API (JMXMAPI) for various versions of JRockit