jfr-flame-graph icon indicating copy to clipboard operation
jfr-flame-graph copied to clipboard

Support official JFR APIs

Open crakjie opened this issue 6 years ago • 8 comments

With java 9 jrockit jars changed name. This making incompatibility with jfr-flame-graph

crakjie avatar Apr 26 '18 08:04 crakjie

Hi @crakjie, Thanks for creating an issue on this. I will check on this.

chrishantha avatar May 03 '18 05:05 chrishantha

Sort of relatedly, Java 10 now has an official API for consuming flight recording profiles

retronym avatar May 25 '18 01:05 retronym

AFAIK the official api cannot read JFR files generated with previous versions of Java. JMC core jars have been open sourced and will be on maven central soon. With that you will be able to read any JFR recording from 7 to the latest JDK.

leogomes avatar Jun 10 '18 22:06 leogomes

Hi @leogomes. Are you planning to support Java 11 or aware of any project doing so? If not I might create a jfr-flame-graph for Java 11 based on OpenJDK API.

cykl avatar Oct 17 '19 08:10 cykl

Hi @cykl, I have plans to support latest official APIs

chrishantha avatar Oct 17 '19 08:10 chrishantha

Noting that the backport of Flight Recorder to OpenJDK8u262 uses the new format and also isn't supported by jfr-flamegraph.

retronym avatar Aug 31 '20 07:08 retronym

@retronym Thank you for informing. I was a bit away from Java for several months. I'm hoping to work on supporting official APIs soon.

chrishantha avatar Sep 01 '20 22:09 chrishantha

Submitted a PR for this https://github.com/chrishantha/jfr-flame-graph/pull/24. It worked for my use case...

jtjeferreira avatar May 17 '21 17:05 jtjeferreira

Thanks a lot @jtjeferreira! Your changes are in the main branch now.

chrishantha avatar Oct 25 '23 06:10 chrishantha