public abstract class jdk.jfr.internal.handlers.EventHandler
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jfr.internal.handlers.EventHandler
super_class: java.lang.Object
{
protected final jdk.jfr.internal.PlatformEventType platformEventType;
descriptor: Ljdk/jfr/internal/PlatformEventType;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final jdk.jfr.EventType eventType;
descriptor: Ljdk/jfr/EventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.EventControl eventControl;
descriptor: Ljdk/jfr/internal/EventControl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(boolean, jdk.jfr.EventType, jdk.jfr.internal.EventControl);
descriptor: (ZLjdk/jfr/EventType;Ljdk/jfr/internal/EventControl;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.jfr.internal.handlers.EventHandler.eventType:Ljdk/jfr/EventType;
2: aload 0
invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 2
invokevirtual jdk.jfr.internal.PrivateAccess.getPlatformEventType:(Ljdk/jfr/EventType;)Ljdk/jfr/internal/PlatformEventType;
putfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
3: aload 0
aload 3
putfield jdk.jfr.internal.handlers.EventHandler.eventControl:Ljdk/jfr/internal/EventControl;
4: aload 0
getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
iload 1
invokevirtual jdk.jfr.internal.PlatformEventType.setRegistered:(Z)Z
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 6 1 registered Z
0 6 2 eventType Ljdk/jfr/EventType;
0 6 3 eventControl Ljdk/jfr/internal/EventControl;
MethodParameters:
Name Flags
registered
eventType
eventControl
protected final jdk.jfr.internal.StringPool createStringFieldWriter();
descriptor: ()Ljdk/jfr/internal/StringPool;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: new jdk.jfr.internal.StringPool
dup
invokespecial jdk.jfr.internal.StringPool.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
public final boolean shouldCommit(long);
descriptor: (J)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.handlers.EventHandler.isEnabled:()Z
ifeq 1
lload 1
aload 0
getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getThresholdTicks:()J
lcmp
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 2 1 duration J
MethodParameters:
Name Flags
duration
public final boolean isEnabled();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.isCommittable:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
public final jdk.jfr.EventType getEventType();
descriptor: ()Ljdk/jfr/EventType;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.handlers.EventHandler.eventType:Ljdk/jfr/EventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
public final jdk.jfr.internal.PlatformEventType getPlatformEventType();
descriptor: ()Ljdk/jfr/internal/PlatformEventType;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
public final jdk.jfr.internal.EventControl getEventControl();
descriptor: ()Ljdk/jfr/internal/EventControl;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.handlers.EventHandler.eventControl:Ljdk/jfr/internal/EventControl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
public static long timestamp();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic jdk.jfr.internal.JVM.counterTime:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static long duration(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifne 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 0
lsub
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 startTime J
MethodParameters:
Name Flags
startTime
public final java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.CloneNotSupportedException
dup
invokespecial java.lang.CloneNotSupportedException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
Exceptions:
throws java.lang.CloneNotSupportedException
private final void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.IOException
dup
ldc "Object cannot be serialized"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 1 1 out Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
private final void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.IOException
dup
ldc "Class cannot be deserialized"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 1 1 in Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public boolean isRegistered();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.isRegistered:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
public boolean setRegistered(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
iload 1
invokevirtual jdk.jfr.internal.PlatformEventType.setRegistered:(Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 1 1 registered Z
MethodParameters:
Name Flags
registered
public void write(long, long, java.lang.String, java.lang.String, int, long, long, boolean);
descriptor: (JJLjava/lang/String;Ljava/lang/String;IJJZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=13, args_size=9
start local 0 start local 1 start local 3 start local 5 start local 6 start local 7 start local 8 start local 10 start local 12 0: aload 0
ldc "SocketReadEvent"
invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
1: return
end local 12 end local 10 end local 8 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 2 1 start J
0 2 3 duration J
0 2 5 host Ljava/lang/String;
0 2 6 address Ljava/lang/String;
0 2 7 port I
0 2 8 timeout J
0 2 10 bytesRead J
0 2 12 endOfSTream Z
MethodParameters:
Name Flags
start
duration
host
address
port
timeout
bytesRead
endOfSTream
public void write(long, long, java.lang.String, java.lang.String, int, long);
descriptor: (JJLjava/lang/String;Ljava/lang/String;IJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=10, args_size=7
start local 0 start local 1 start local 3 start local 5 start local 6 start local 7 start local 8 0: aload 0
ldc "SocketWriteEvent"
invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
1: return
end local 8 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 2 1 start J
0 2 3 duration J
0 2 5 host Ljava/lang/String;
0 2 6 address Ljava/lang/String;
0 2 7 port I
0 2 8 bytesWritten J
MethodParameters:
Name Flags
start
duration
host
address
port
bytesWritten
public void write(long, long, java.lang.String, boolean);
descriptor: (JJLjava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 6 0: aload 0
ldc "FileForceEvent"
invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
1: return
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 2 1 start J
0 2 3 duration J
0 2 5 path Ljava/lang/String;
0 2 6 metadata Z
MethodParameters:
Name Flags
start
duration
path
metadata
public void write(long, long, java.lang.String, long, boolean);
descriptor: (JJLjava/lang/String;JZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=9, args_size=6
start local 0 start local 1 start local 3 start local 5 start local 6 start local 8 0: aload 0
ldc "FileReadEvent"
invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
1: return
end local 8 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 2 1 start J
0 2 3 duration J
0 2 5 path Ljava/lang/String;
0 2 6 bytesRead J
0 2 8 endOfFile Z
MethodParameters:
Name Flags
start
duration
path
bytesRead
endOfFile
public void write(long, long, java.lang.String, long);
descriptor: (JJLjava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 6 0: aload 0
ldc "FileWriteEvent"
invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
1: return
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 2 1 start J
0 2 3 duration J
0 2 5 path Ljava/lang/String;
0 2 6 bytesWritten J
MethodParameters:
Name Flags
start
duration
path
bytesWritten
public void write(long, long, java.lang.String, java.lang.Class<?>);
descriptor: (JJLjava/lang/String;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 6 0: aload 0
ldc "ExceptionThrownEvent or ErrorThrownEvent"
invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
1: return
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 2 1 start J
0 2 3 duration J
0 2 5 path Ljava/lang/String;
0 2 6 exceptionClass Ljava/lang/Class<*>;
Signature: (JJLjava/lang/String;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
start
duration
path
exceptionClass
private void throwError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Method parameters don't match fields in class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/handlers/EventHandler;
0 1 1 classes Ljava/lang/String;
MethodParameters:
Name Flags
classes
}
SourceFile: "EventHandler.java"