My Oracle Support Banner

Troubleshooting WLS Performance Issues With JFR (Doc ID 2574782.1)

Last updated on MARCH 26, 2021

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Purpose

Oracle Java Mission Control was originally included with JRockit and then bundled with the HotSpot JVM since Java 7 Update 40 release.
This tool is specially helpful when dealing with consistent performance issues, easily replicated.
A JFR file provides a view of the execution of a Java process using Oracle Java Mission Control (<JAVA_HOME>/bin/jmc or jmc.exe in Windows) available with the JDK from different perspectives allowing to review the CPU, heap size, GC work, IO metrics, thread dumps, events, etc. The problem can be isolated using operative set and adjusting the time line between other interesting features.
The following steps will help to prepare WLS to be monitored with JFR and then to collect a JFR file when the performance issue is occurring.

Troubleshooting Steps

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
Purpose
Troubleshooting Steps
 1) To Enable JFR at the JDK
 2) Set built-in diagnostic module to High
 3) Restart the WLS instance
 4) Collect the JFR file
 Profile configuration - GUI mode
 Profile configuration - console mode
 Collecting a JFR File
 5) Other usages of the JCMD command
 6) Analysis of JFR files

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.