Forum Stats

  • 3,874,108 Users
  • 2,266,682 Discussions
  • 7,911,728 Comments

Discussions

No *.jfr file generated

meandmycode
meandmycode Member Posts: 37 Blue Ribbon
edited May 8, 2018 3:12AM in Java Mission Control

Hi,

I am starting a testng test on my java application.

When I start application I use "Run configuration " --> Testng

Then I add the following;

-DjvmArgs="-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=name=default,settings=default -XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true,dumponexitpath=/home/my_user/tmp/dumponexit.jfr"

But I cannot see any jfr file.

//mikael

Answers

This discussion has been closed.