Java Mission Control and Flight Recorder Not Available in Early Versions of Java SE 7 Hotspot
(Doc ID 1640014.1)
Last updated on MARCH 09, 2018
Applies to:Java SE JDK and JRE - Version 7 to 7 [Release 7]
Oracle WebLogic Server - Version 10.3.6 to 10.3.6
Information in this document applies to any platform.
Although JRockit Mission Control and Flight Recorder are fully supported in Java 6-based JRockit versions (R28.*), the Java Mission Control and Flight Recorder are not available in Java SE (Hotspot) version 6.
Java Mission Control and Flight Recorder are introduced to Java SE (Hotspot) in version Java SE 7 Update 25, but in a limited, unsupported capacity.
In Java SE 7u25, you can use jmc.exe to take a flight recording, but there is no data shown on the meters or graphs. You'll notice the jcmd utility exists, and the JFR.start, JFR.check and JFR.stop commands are available, and they can be unlocked by adding the JVM command line flags:
However, the recordings generated have no events captured at all. Despite having the correct format, the resulting files are only few Kilobytes in size and show no data at all.
How can the data be displayed?
Also note that attempting to use the jcmd <pid> JFR.start command on a pre-Java 7u25 patch update process will result in attach errors similar to the following:
com.sun.tools.attach.AttachNotSupportedException: Insufficient memory or insufficient privileges to attach
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document