JRockit/Java/JDK Flight Recorder (JFR), a performance monitoring and profiling tool
Questions tagged [jfr]
176 questions
0
votes
1 answer
Java Flight Recorder dump shows timeline starting from 1/1/1970
When starting the JFR using jcmd command and creating a recording dump, the resulting .jfr file when opened in mission control shows the timeline starting from 1/1/1970.
The issue occurs only for the first recording dump after starting the…

xagaffar
- 683
- 8
- 16
0
votes
2 answers
How to read JFR in JDK 11
I generated a jfr file using Java Flight Recorder and I want to convert that to a flame graph compatible format ( https://github.com/brendangregg/FlameGraph ). Is there any Java classes to read a jfr file. In java 7 we had
import…
0
votes
1 answer
How do I find hotspots in a java web application (running in Tomcat)?
I have a web application that is taking for longer than it should to perform a specific task. I place the web application under load using ab with a concurrency of one, and I see tomcat using 100% of one CPU. I want to drill down into the…

Graham Leggett
- 911
- 7
- 20
0
votes
2 answers
Is there a way to check if a particular jdk (Oracle or OpenJDK) supports Java Flight Recorder?
Is there a way to check if a particular jdk (Oracle or OpenJDK) supports Java Flight Recorder ?
I have been trying to run my app on OPEN JDK 8 as following
java -XX:StartFlightRecording
But this does not work on OPEN JDK 8. I get following error…

coder
- 231
- 3
- 11
0
votes
2 answers
Record application events on remote Docker from current system using JMC command line options
Basically I would like to record the application events(JFR data) running on docker from my current system JMC.
Steps followed:
Enabled JFR port on my docker service.
Verified whether I'm able to access the docker service's JMS port from my…
0
votes
1 answer
Enable usage of Java Flight Recorder in Neo4j Desktop
I'm trying to enable the usage of Java Flight Recorder to collect thread dumps for every 10 seconds while running Cypher queries using Neo4j Desktop. But in the 'settings' tab (configuration file) in Neo4j desktop, the recommended flight recorder…

Manish Giri
- 3,562
- 8
- 45
- 81
0
votes
0 answers
Unexpected JVM Crash at start - Problematic frame readdir_r+0x36 - Apparmor enabled
While Apparmor enabled:
Whenever I start the JVM after turning on the JFR through JVM parameter, the JVM crushes with the following error.
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b25 mixed mode linux-amd64 compressed oops)
# Problematic…

Dhiman Ghosh
- 57
- 3
0
votes
0 answers
JFR shows high CPU utilization inside Lmax-Disruptor engine
In our applciation we use LMAX-Distuptor for pulishing events. It shows the Distuptor code is doing some intense CPU operation just to calculate the minimum sequence from an array of sequences, which takes most of the CPU. Click the below URL to…

Dhiman Ghosh
- 57
- 3
0
votes
1 answer
What exactly are the count and duration values in JFR Thread Contention
I have an multi-threaded application that runs for 1m9s (with 56 concurrent threads). The JFR screenshot of the contentions is show below. What is not clear to me are:
What does the Count field indicate? The number of times the Lock has been…

Sami Hailu
- 321
- 2
- 7
0
votes
2 answers
Java Flight Recorder not reporting all GC events
We have performance build that spawns up our application with the following flags turned on:
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=dumponexit=true,dumponexitpath=/tmp/ImaginaryApplication/logs/flightRecorder.jfr…

caffeine_inquisitor
- 617
- 1
- 9
- 21
0
votes
1 answer
Garbage Collection statistics in Java Flight Recorder result
We have a job in our CI that kicks off our Java app and run some test (the test acts as a client to the app). The app is started with what I think is the correct JVM option to do continuous flight recording:
-XX:+UnlockCommercialFeatures…

caffeine_inquisitor
- 617
- 1
- 9
- 21
0
votes
2 answers
Cannot start JVM in Eclipse External Tools with Flight Recording Args
I am invoking my java code via Eclipse External Tools as an ant target.
I want to monitor the JVM with JMC (Mission Control) and hence start up the Eclipse External Tools with arguments:
"-XX:+UnlockCommercialFeatures -XX:+FlightRecorder".
However,…

user2676007
- 11
- 2
0
votes
1 answer
JMC flight recorder not showing custom methods
This is my first time with Flight recorder. Tried to start a flight recording against my app code which has the flags set -XX:+UnlockCommercialFeatures -XX:+FlightRecorder.
However when I open the recorded file, it would seem that only core java…

Sathyakumar Seshachalam
- 2,013
- 3
- 20
- 32
0
votes
0 answers
Running wrapper file continuously for using JFR to monitor ActiveMQ performance
I have an issue about continuously running Java Flight Recorder to monitor memory usage and other performance statistics of ActiveMQ.
Wrapper configuration file (wrapper.conf) is under this directory with nearside (wrapper, activemq,…

ercument.ekentok
- 1
- 3
0
votes
3 answers
Java Mission Control Listener?
I currently have some Java code that I would like to profile. I decided to use Java Mission Control after reading some promising things about it. However, every resource I've consulted so far tells me to first start the process I want to profile…

information_interchange
- 2,538
- 6
- 31
- 49