Chapter 12. Using the JRockit Management APIs

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

Note

JMAPI is partly deprecated ...

Get Oracle JRockit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.