Questions tagged [java-mission-control]

Java Mission Control is an advanced set of tools that enables efficient and detailed analysis of the extensive of data collected by Java Flight Recorder. The tool chain enables developers and administrators to collect and analyze data from Java applications running locally or deployed in production environments.

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collection framework built into the Oracle JDK. It allows Java administrators and developers to gather detailed low level information about how the Java Virtual Machine (JVM) and the Java application are behaving. Java Mission Control is an advanced set of tools that enables efficient and detailed analysis of the extensive of data collected by Java Flight Recorder. The tool chain enables developers and administrators to collect and analyze data from Java applications running locally or deployed in production environments.

See http://www.oracle.com/technetwork/java/javaseproducts/mission-control/java-mission-control-1998576.html

59 questions
2
votes
0 answers

java serviceability agent vs jmc vs visualvm

What is the difference between the java visualvm, java mission control and java serviceability agent tools ? I know at a high level that Visualvm and jmc do a similar job but they differ on the way they choose the data to profile but there isn't…
Javadee
  • 139
  • 10
2
votes
2 answers

Java Mission Control says "few profiling samples", why, and what are my other options?

I'm profiling a Java application using Java Mission Control, and it's saying on the main page of the flight recording that "This recording contains few profiling samples even though CPU load is high. The profiling data is thus likely not…
2
votes
1 answer

How to connect to a remote Docker container via JMX

I have a Spring Boot application running in a container on a remote machine, which JVM parameters I have to use to connect to it through Java Mission Control or JVisual VM (via JMX)?
Alessandro Dionisi
  • 2,494
  • 4
  • 33
  • 37
2
votes
2 answers

Custom JFR Java mission control events

I would like to emit custom events in jmc -I've came across the blog post about jfr custom events - http://hirt.se/blog/?p=444 . The author however stressed that this feature may be depracted in the future. Since the jmc is not open source I am…
user3364192
  • 3,783
  • 2
  • 21
  • 30
2
votes
2 answers

Java flight recorder programmatically parsing

I'm trying to Parse JFR dump using JAVA. I followed this blog, http://hirt.se/blog/?p=446 . But these methods are deprecated now. Is there any supported parsers for JFR to JAVA? if not can you point me is it possible to retrieve data from JFR dump?…
Vithulan
  • 300
  • 1
  • 11
2
votes
1 answer

Java mission control - visualize event

Is it possible to visualize JFR events on chart? Sure I can browse them in log section but I'd like to visiualize them on chart also. A good example would be "Machine total" attribute from "CPU Load" event. If it is possible how to achieve it?
user3364192
  • 3,783
  • 2
  • 21
  • 30
2
votes
2 answers

Java mission control can not connect to Test Class in IDEA

I configured IDEA to use java mission control as following - And during debugging main method I encountered following exception on Java Mission control - java.lang.RuntimeException: Could not connect to com.seleniumtests.tests.RetryTest (11952).…
Tarun
  • 3,456
  • 10
  • 48
  • 82
2
votes
1 answer

Enabling Flight Recorder in Tomcat causes "Error when initializing JFR"

adding -XX:+FlightRecorder to my CATALINA_OPTS causes this error in my catalina.out log: Error when initializing JFR. JFR will be deactivated. java.lang.Exception: Unable to create JFR repository directory using base location…
snowe
  • 1,312
  • 1
  • 20
  • 41
2
votes
1 answer

How to name the Application for Java Mission Control

I would like to define the name of my application so that I can see the name in Java Mission Control. e.g.: Eclipse is named as "Eclipse (process id)". How can I achive this?
Marcel Jaeschke
  • 707
  • 7
  • 24
1
vote
0 answers

Java mission control memory information for classes

In Java mission control we can see memory usage. If we have many String objects, we can see many char[] but we also see java.lang.String Arrays of chars are shown because internally String uses them, but what then does represent when Mission…
VextoR
  • 5,087
  • 22
  • 74
  • 109
1
vote
2 answers

Java Flight Recorder - no Live Objects

I'm running JFR on JDK 1.8_261. I'm running my application using those VM options: -XX:+UseG1GC -XX:+UnlockCommercialFeatures…
Ori Popowski
  • 10,432
  • 15
  • 57
  • 79
1
vote
0 answers

Java Mission Control (Flight Recorder) Memory/Live Objects view blank for remote JVMs

Using Java Mission Control 7 from OpenJDK 11. When I make a Flight Recording of a JVM running on my local PC I get data in the Live Objects tab However when I run the same settings against a remote JVM I get allocation stack traces but the Live…
1
vote
1 answer

Can still connect to remote JMX using Java Mission Control but certificate expired?

I have a java process running on a remote server that exposes a SSL configured JMX port using the com.sun.management.jmxremote JVM arguments. The process uses a keystore that contains a self-signed certificate. I am running Java Mission Control…
1
vote
1 answer

How to interpret lambda in memory view of Java Mission Control

I'm analysing part of a Java 8 application using Java Mission Control. I'm using Java Mission Control 6.0.0 (the version that comes with Java 9 and 10). In the Memory view, under Java Application I see the following: 87M seems like a lot of memory…
Adam
  • 682
  • 1
  • 6
  • 27
1
vote
2 answers

Java Flight Control - Keep Last N Minutes record data

Can someone let me know in Java Flight Control started via Java Mission Control if it is possible to keep only last N minutes of data under continuous recording? I have gone through this discussion but I am not able to find where I have to pass the…
tuk
  • 5,941
  • 14
  • 79
  • 162