From c087e9174edb1a284427b987654e15e63f2eb993 Mon Sep 17 00:00:00 2001 From: Erik Gahlin Date: Thu, 7 Dec 2023 12:35:05 +0000 Subject: [PATCH] 8321505: JFR: Update views Reviewed-by: mgronlun --- .../classes/jdk/jfr/internal/query/view.ini | 41 +++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/src/jdk.jfr/share/classes/jdk/jfr/internal/query/view.ini b/src/jdk.jfr/share/classes/jdk/jfr/internal/query/view.ini index 6b5b07fd242..c28d13c0e91 100644 --- a/src/jdk.jfr/share/classes/jdk/jfr/internal/query/view.ini +++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/query/view.ini @@ -85,6 +85,15 @@ table = "COLUMN 'Method', 'Allocation Pressure' GROUP BY S ORDER BY W DESC LIMIT 25" +[jvm.blocked-by-system-gc] +label = "Blocked by System.gc()" +table = "FORMAT none, none, cell-height:10 + SELECT startTime, duration, stackTrace + FROM SystemGC + WHERE invokedConcurrent = 'false' + ORDER BY duration DESC + LIMIT 25" + [application.class-loaders] label = "Class Loaders" table = "FORMAT missing:null-bootstrap, none, none @@ -303,6 +312,15 @@ table = "COLUMN 'Name', 'Average', 'P95', FROM GCPhaseConcurrent, GCPhaseConcurrentLevel1 GROUP BY name ORDER BY S" +[jvm.gc-parallel-phases] +label = "Parallel GC Phases" +table = "COLUMN 'Name', 'Average', 'P95', + 'Longest', 'Count', 'Total' + SELECT name, AVG(duration), P95(duration), + MAX(duration), COUNT(*), SUM(duration) AS S + FROM GCPhaseParallel + GROUP BY name ORDER BY S" + [jvm.gc-configuration] label = 'GC Configuration' form = "COLUMN 'Young GC', 'Old GC', @@ -382,6 +400,14 @@ table = "COLUMN 'Method', 'Samples', 'Percent' SELECT stackTrace.topFrame AS T, COUNT(*), COUNT(*) FROM ExecutionSample GROUP BY T LIMIT 25" +[jvm.jdk-agents] +label = "JDK Agents" +table = "COLUMN 'Time', 'Initialization', 'Name', 'Options' + FORMAT none, none, truncate-beginning;cell-height:10, cell-height:10 + SELECT LAST(initializationTime) AS t, LAST(initializationDuration), LAST(name), LAST(JavaAgent.options) + FROM JavaAgent, NativeAgent + ORDER BY t" + [environment.jvm-flags] label = "Command Line Flags" table = "SELECT name AS N, LAST(value) @@ -434,6 +460,14 @@ label = "Native Libraries" table = "FORMAT cell-height:2, none, none SELECT name AS N, baseAddress, topAddress FROM NativeLibrary GROUP BY name ORDER BY N" +[environment.native-library-failures] +label = "Native Library Load/Unload Failures" +table = "COLUMN 'Operation', 'Library', 'Error Message' + FORMAT none, truncate-beginning, cell-height:10 + SELECT eventType.label, name, errorMessage + FROM NativeLibraryUnload, NativeLibraryLoad + WHERE success = 'false'" + [jvm.native-memory-committed] label = "Native Memory Committed" table = "COLUMN 'Memory Type', 'First Observed', 'Average', 'Last Observed', 'Maximum' @@ -532,17 +566,18 @@ table = "COLUMN 'Host', 'Reads', 'Total Read' [environment.system-information] label = "System Information" -form = "COLUMN 'Total Physical Memory Size', 'OS Version', 'CPU Type', +form = "COLUMN 'Total Physical Memory Size', 'OS Version', 'Virtualization', 'CPU Type', 'Number of Cores', 'Number of Hardware Threads', 'Number of Sockets', 'CPU Description' - SELECT LAST(totalSize), LAST(osVersion), LAST(cpu), + SELECT LAST(totalSize), LAST(osVersion), LAST(name), LAST(cpu), LAST(cores), LAST(hwThreads), LAST(sockets), LAST(description) - FROM CPUInformation, PhysicalMemory, OSInformation" + FROM CPUInformation, PhysicalMemory, OSInformation, VirtualizationInformation" [environment.system-processes] label = "System Processes" table = "COLUMN 'First Observed', 'Last Observed', 'PID', 'Command Line' + FORMAT none, none, none, truncate-beginning SELECT FIRST(startTime), LAST(startTime), FIRST(pid), FIRST(commandLine) FROM SystemProcess GROUP BY pid"