Forum Stats

  • 3,874,115 Users
  • 2,266,686 Discussions
  • 7,911,730 Comments

Discussions

No code profiling information on 1.8.0_40

9b6fa6b2-f543-4e71-85e1-a331c640dd27
edited Jul 14, 2015 11:07AM in Java Mission Control

Hi,

I'm using java version 1.8.0_40, build build 1.8.0_40-b25. However, I cannot get Flight Recorder to record the code profiling information (hot methods, call tree, etc) - or JMC to display it. The settings I tried:

-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true

-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true,settings=blabla.jfc (custom settings, with Method Sampling on maximum)

-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=duration=120m,filename=recording.jfr

I've also tried just -XX:+UnlockCommercialFeatures -XX:+FlightRecorder and doing the recording via JMC with no results.

Screenshot of the Code tab (the General tab is filled in normally):

jmc_emptycode.png

Anyone has any ideas of what else to try?

Answers

This discussion has been closed.