Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to develop a new JMC 6 JFR Plugin?

Isuru PereraJun 4 2018 — edited Sep 27 2018

Hi,

I have a project to generate Flame Graphs from Java Flight Recording (https://github.com/chrishantha/jfr-flame-graph ). However, with that project, it's difficult to generate Flame Graphs for a given time range.

Now, I want to develop a JFR plug-in, which can generate Flame Graphs for Hot Methods, Allocations etc. Basically from the UI, we should be able to select a time range for Hot Methods, Allocations etc., and the plugin will generate a Flame Graph using stack samples in the selected range. Is it possible to do that from a plug-in?

Is there any documentation on how to develop a plugin? Since there are several experimental plugins for JMC 6.0, I guess there should be at least some documentation on how to develop a plugin for JMC 6.0 (even though it's not official supported).

Are there any open source plugins? If there are any open source plugins, I can take a look at the code and figure out how those plugins were developed.

Thank you.

This post has been answered by Hirt-Oracle on Jul 5 2018
Jump to Answer

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 2 2018
Added on Jun 4 2018
2 comments
430 views