Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Wow - JFR support

Moderators: Vladimir Kondratyev, Anton Katilin

Wow - JFR support

Postby ArgyVonBargy » Tue Sep 28, 2021 1:24 am

I've spent the morning having a bit of a play around with the latest access version - the support for JFR files looks really great (as does the support for the line numbers in the deobfuscation of ZKM).

Is the JFR support going to expand further from this point - its great to see the information in there (and even better than it appears to support the deobfuscation out of the box). I'm looking at it wondering if I'll be able to drill down further into the information in the Threads/Memory/Performance Charts views.

Thanks :)
ArgyVonBargy
 
Posts: 5
Joined: Tue Sep 07, 2021 2:57 am

Re: Wow - JFR support

Postby Anton Katilin » Tue Sep 28, 2021 10:22 am

Hi,

Thank you for trying the EAP build.

Is the JFR support going to expand further from this point

Sure.

We'll add more functionality within the upcoming version 2021.11, some functionality will be added in the future versions.

appears to support the deobfuscation out of the box

Yes, the automatic deobfuscation feature works for JFR too.

We try to make the functionality available for YourKit snapshots also available for JFR recordings, whenever applicable.

I'm looking at it wondering if I'll be able to drill down further into the information in the Threads/Memory/Performance Charts views.

Do you mean stack traces?

In "Threads" you can choose which events are included (click individual event types or use "Select/Unselect All" in the popup menu). When events are shown, you can click them to see the stack trace.

(Unlike YourKit Java Profiler results which contain periodically obtained thread samples, for JFR we can show a stack trace for particular event only. Events shown in "Threads" are clickable, but it's unclear which stack to take when clicking e.g a memory usage graph at some time point. We'll think what we can do about that.)

All event detail is also available in the "Events" tab.

Best regards,
Anton
Anton Katilin
 
Posts: 6070
Joined: Wed Aug 11, 2004 8:37 am

Re: Wow - JFR support

Postby ArgyVonBargy » Wed Sep 29, 2021 1:27 am

Anton Katilin wrote:
I'm looking at it wondering if I'll be able to drill down further into the information in the Threads/Memory/Performance Charts views.

Do you mean stack traces?

In "Threads" you can choose which events are included (click individual event types or use "Select/Unselect All" in the popup menu). When events are shown, you can click them to see the stack trace.

(Unlike YourKit Java Profiler results which contain periodically obtained thread samples, for JFR we can show a stack trace for particular event only. Events shown in "Threads" are clickable, but it's unclear which stack to take when clicking e.g a memory usage graph at some time point. We'll think what we can do about that.)

All event detail is also available in the "Events" tab.


Yes I was thinking of the stack traces, the interface isn't as intuitive with jfr as it is with hprof files (I do accept that the information available to be displayed is very different).

WIth the CPU view i was interested to see if there was any ability to drill down from the 'CPU usage telemetry', CPU Usage and Threads graphs. To be able to see some stack information, or summary on the threads when clicking on events in that graph would be great.

With the Threads view - I've had a go with selecting individual events, but even just 'Java Thread Start' is 1923 entries - which then means i get the helper text to use a filter to narrow down the list.. I have managed to narrow down the information by knowing the names of the threads/pools that I'm interested in - but that wasn't intuitive.

Great work so far - I look foward to seeing where this goes next!
ArgyVonBargy
 
Posts: 5
Joined: Tue Sep 07, 2021 2:57 am

Re: Wow - JFR support

Postby Anton Katilin » Wed Sep 29, 2021 7:45 am

Thank you for the feedback. We're working on improving the functionality.

'Java Thread Start' is 1923 entries


Additionally, each event can be seen in the "Events" view.

In the "Event Table" tab you can sort and group events to find and analyze the interesting ones. An event's time point can be opened in the "CPU" tab graphs or in "Performance Charts" by using the popup menu item "View in Graph".

In the "Event Timeline" tab you can see the sequence of events. Nested events if any will be shown as nodes.
Anton Katilin
 
Posts: 6070
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.