« April 2009 | Main | September 2009 »

May 2009 Archives

May 7, 2009

The Experimental Update Site is Now Online!

Since the 3.1 version of JRockit Mission Control, it is possible to extend JRockit Mission Control in various ways. The first extensibility features that we’re releasing are for the JRockit Mission Control Console, with the next major version featuring the same sort of extensibility for the Memleak and JRA tools as well.

Together with exposing these extension points, we also wanted to provide plug-ins that facilitates building extensions for JRMC. Since these plug-ins, strictly speaking, are not part of the JRockit Mission Control product, we’ve tried to come up with a good way for distributing them.

Today we released the Experimental Update Site for JRockit Mission Control. It contains plug-ins for Eclipse and/or JRMC that either extends, or makes it easier to extend, JRockit Mission Control. In this first release, there is a PDE plug-in that provides wizards for extending the JRockit Mission Control console in various ways. There is also a JConsole meta plug-in, that allows you to run JConsole plug-ins in JRockit Mission Control. IMHO, using the PDE-plug-ins to build a native JRMC version of the plug-in is the better way to go. ;)

Everything in the experimental update site is provided as is – it is unsupported functionality, and the plug-ins may be revised and updated without notice. Please use the forum if you have any questions or want to report problems with these plug-ins.

Have fun!

Using the PDE Wizard

With the new Experimental Update site, there are now PDE plug-ins for extending the JRockit Mission Control Console. The wizards greatly reduces the time needed to start writing your own tabs, actions and constraints.

This is basically a very short tutorial on how to use them.

Install the PDE plug-ins

  1. First make sure you have Eclipse 3.3 or 3.4 installed.
    You will need the plug-in builder edition.
  2. Next make sure that you have installed JRockit Mission Control 3.1.0 into your Eclipse.
    The update site is here: http://www.oracle.com/technology/software/products/jrockit/missioncontrol/updates/base/3.1.0/eclipse/index.html
  3. Next install the PDE plug-ins from the experimental update site.
    The experimental update site is here:
    http://www.oracle.com/technology/software/products/jrockit/missioncontrol/updates/experimental/3.1.0/eclipse/index.html

Worth noting here is that if you fall for the temptation to also include the JConsole meta plug-in from the experimental update site, you need to be running your Eclipse on a JRockit 1.6 based JVM for the plug-in to work.

Creating a JRockit Mission Control Console PDE project

In this example we’ll create an additional tab in the JRockit Mission Control console. The tab will subscribe to one or more values from the JVM, depending on which wizard you choose.

  1. Create a new Plug-in project by selecting File->New->Project… and then selecting Plug-in Project.
    If that alternative is not available to you, ensure that you have installed the Plug-in Builder version of Eclipse.
  2. Name your Plug-In Project by entering the Project Name in the New Plug-in Project Wizard. Then click next.
    (e.g. com.example.mc.testtab)
  3. Review the details in the Plug-in Content page and then click next.
  4. Select either the Mission Control Complex or Simple Tab wizard.
  5. Review the details in the tab wizard, then click finish.

You now have a project which should compile properly. The plug-in adds a tab to the JRockit Mission Control Console. There are other wizards, for instance one that add actions to the triggers tab in the the JRockit Mission Control Console.

About May 2009

This page contains all entries posted to Marcus Hirt's Blog in May 2009. They are listed from oldest to newest.

April 2009 is the previous archive.

September 2009 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle