FUNDAMENTALS OF COMPUTER

SYSTEMS DEVELOPMENT ANALYSIS

APPLICATION DEVELOPMENT PROCESSES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
You want to collect and analyze performance characteristics of your Java application. Which action correctly accomplishes this?
A
Use REST API to collect JFR data for the last 1 minute.
B
ssh Into the application VM to collect JVM heap dump.
C
Collect JFR data for the last 1 hour using the UI.
D
Use the PSM CLI to collect heap dump.
Explanation: 

Detailed explanation-1: -Flight Recorder (JFR) is a tool for collecting diagnostic and profiling data about a running Java application. It is integrated into the JVM and causes very small performance overhead, so it can be used in production environments.

Detailed explanation-2: -JFR doesn’t have a standalone tool. We use Java Mission Control (JMC), which contains a plugin that allows us to visualize the data collected by JFR. These three components-JFR, jcmd and JMC-form a complete suite for collecting low-level runtime information of a running Java program.

There is 1 question to complete.