Working with JDK 11, if you look at the summary of the JRF recording, you can see that there are 140 different events. Some of them may have not occurred, which is clearly visible in the output:
$ jfr summary /c/dev/jfrec/ddos.jfr
Version: 2.0
Chunks: 1
Start: 2020-10-31 19:39:36 (UTC)
Duration: 54 s
Event Type Count Size (bytes)
=============================================================
jdk.JavaMonitorWait 2727 79342
jdk.NativeMethodSample 2590 40722
jdk.ThreadPark 2125 89947
...
jdk.GCHeapConfiguration 1 30
jdk.YoungGenerationConfiguration 1 21
jdk.JavaMonitorInflate 0 0
jdk.ReservedStackActivation 0 0
All of them have names like they were Java classes in package jdk
.
On the other hand if I want to implement my own custom JFR event I have to extend the jdk.jfr.Event
class, so I suppose that all jdk.*
events extend the jdk.jfr.Event
too.
Inside the official Java SE Javadocs (https://docs.oracle.com/en/java/javase/11/docs/api/index.html) the jdk.jfr.Event
is documented but the jdk.*
classes are not.
If not inside official Java SE platform Javadocs, then where is the official documentation of built-in JFR event classes placed?