Skip to content

Commit c087e91

Browse files
committed
8321505: JFR: Update views
Reviewed-by: mgronlun
1 parent ead4fb1 commit c087e91

File tree

1 file changed

+38
-3
lines changed
  • src/jdk.jfr/share/classes/jdk/jfr/internal/query

1 file changed

+38
-3
lines changed

src/jdk.jfr/share/classes/jdk/jfr/internal/query/view.ini

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ table = "COLUMN 'Method', 'Allocation Pressure'
8585
GROUP BY S
8686
ORDER BY W DESC LIMIT 25"
8787

88+
[jvm.blocked-by-system-gc]
89+
label = "Blocked by System.gc()"
90+
table = "FORMAT none, none, cell-height:10
91+
SELECT startTime, duration, stackTrace
92+
FROM SystemGC
93+
WHERE invokedConcurrent = 'false'
94+
ORDER BY duration DESC
95+
LIMIT 25"
96+
8897
[application.class-loaders]
8998
label = "Class Loaders"
9099
table = "FORMAT missing:null-bootstrap, none, none
@@ -303,6 +312,15 @@ table = "COLUMN 'Name', 'Average', 'P95',
303312
FROM GCPhaseConcurrent, GCPhaseConcurrentLevel1
304313
GROUP BY name ORDER BY S"
305314

315+
[jvm.gc-parallel-phases]
316+
label = "Parallel GC Phases"
317+
table = "COLUMN 'Name', 'Average', 'P95',
318+
'Longest', 'Count', 'Total'
319+
SELECT name, AVG(duration), P95(duration),
320+
MAX(duration), COUNT(*), SUM(duration) AS S
321+
FROM GCPhaseParallel
322+
GROUP BY name ORDER BY S"
323+
306324
[jvm.gc-configuration]
307325
label = 'GC Configuration'
308326
form = "COLUMN 'Young GC', 'Old GC',
@@ -382,6 +400,14 @@ table = "COLUMN 'Method', 'Samples', 'Percent'
382400
SELECT stackTrace.topFrame AS T, COUNT(*), COUNT(*)
383401
FROM ExecutionSample GROUP BY T LIMIT 25"
384402

403+
[jvm.jdk-agents]
404+
label = "JDK Agents"
405+
table = "COLUMN 'Time', 'Initialization', 'Name', 'Options'
406+
FORMAT none, none, truncate-beginning;cell-height:10, cell-height:10
407+
SELECT LAST(initializationTime) AS t, LAST(initializationDuration), LAST(name), LAST(JavaAgent.options)
408+
FROM JavaAgent, NativeAgent
409+
ORDER BY t"
410+
385411
[environment.jvm-flags]
386412
label = "Command Line Flags"
387413
table = "SELECT name AS N, LAST(value)
@@ -434,6 +460,14 @@ label = "Native Libraries"
434460
table = "FORMAT cell-height:2, none, none
435461
SELECT name AS N, baseAddress, topAddress FROM NativeLibrary GROUP BY name ORDER BY N"
436462

463+
[environment.native-library-failures]
464+
label = "Native Library Load/Unload Failures"
465+
table = "COLUMN 'Operation', 'Library', 'Error Message'
466+
FORMAT none, truncate-beginning, cell-height:10
467+
SELECT eventType.label, name, errorMessage
468+
FROM NativeLibraryUnload, NativeLibraryLoad
469+
WHERE success = 'false'"
470+
437471
[jvm.native-memory-committed]
438472
label = "Native Memory Committed"
439473
table = "COLUMN 'Memory Type', 'First Observed', 'Average', 'Last Observed', 'Maximum'
@@ -532,17 +566,18 @@ table = "COLUMN 'Host', 'Reads', 'Total Read'
532566

533567
[environment.system-information]
534568
label = "System Information"
535-
form = "COLUMN 'Total Physical Memory Size', 'OS Version', 'CPU Type',
569+
form = "COLUMN 'Total Physical Memory Size', 'OS Version', 'Virtualization', 'CPU Type',
536570
'Number of Cores', 'Number of Hardware Threads',
537571
'Number of Sockets', 'CPU Description'
538-
SELECT LAST(totalSize), LAST(osVersion), LAST(cpu),
572+
SELECT LAST(totalSize), LAST(osVersion), LAST(name), LAST(cpu),
539573
LAST(cores), LAST(hwThreads),
540574
LAST(sockets), LAST(description)
541-
FROM CPUInformation, PhysicalMemory, OSInformation"
575+
FROM CPUInformation, PhysicalMemory, OSInformation, VirtualizationInformation"
542576

543577
[environment.system-processes]
544578
label = "System Processes"
545579
table = "COLUMN 'First Observed', 'Last Observed', 'PID', 'Command Line'
580+
FORMAT none, none, none, truncate-beginning
546581
SELECT FIRST(startTime), LAST(startTime),
547582
FIRST(pid), FIRST(commandLine)
548583
FROM SystemProcess GROUP BY pid"

0 commit comments

Comments
 (0)