Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JFR with Bundled OpenJDK

While running Jira using Oracle's Java I enabled JFR (Java Flight Recording) to help investigate issues. I decided to switch over to the bundled OpenJDK version with Jira but cannot seem to get flight recording to start. 

Has anybody been able to successfully get JFR to start with Jira using the bundled OpenJDK? If so, can you provide an example of your JVM arguments. 

1 answer

1 accepted

0 votes
Answer accepted
Artur Moura Atlassian Team Jan 07, 2022

Hi @Sean M

Usually, you may try the following JVM arguments -

-XX:+HeapDumpOnOutOfMemoryError -XX:StartFlightRecording=disk=true,maxsize=10G,maxage=1h,settings=profile,path-to-gc-roots=true -XX:FlightRecorderOptions=repository=/path/to/jfr/files

Hope it helps! 

That did help! I think the part that I was getting caught on was the FlightRecorderOptions, I was putting the repository under the StartFlightRecording section. 

Thank you! 

Like Artur Moura likes this
Artur Moura Atlassian Team Jan 10, 2022

Awesome! Thanks for sharing your feedback! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

626 views 21 25
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you