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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // boolean registered
        start local 2 // jdk.jfr.EventType eventType
        start local 3 // jdk.jfr.internal.EventControl eventControl
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 49
            aload 0 /* this */
            aload 2 /* eventType */
            putfield jdk.jfr.internal.handlers.EventHandler.eventType:Ljdk/jfr/EventType;
         2: .line 50
            aload 0 /* this */
            invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
            aload 2 /* eventType */
            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: .line 51
            aload 0 /* this */
            aload 3 /* eventControl */
            putfield jdk.jfr.internal.handlers.EventHandler.eventControl:Ljdk/jfr/internal/EventControl;
         4: .line 52
            aload 0 /* this */
            getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
            iload 1 /* registered */
            invokevirtual jdk.jfr.internal.PlatformEventType.setRegistered:(Z)Z
            pop
         5: .line 53
            return
        end local 3 // jdk.jfr.internal.EventControl eventControl
        end local 2 // jdk.jfr.EventType eventType
        end local 1 // boolean registered
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
         0: .line 56
            new jdk.jfr.internal.StringPool
            dup
            invokespecial jdk.jfr.internal.StringPool.<init>:()V
            areturn
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // long duration
         0: .line 61
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.handlers.EventHandler.isEnabled:()Z
            ifeq 1
            lload 1 /* duration */
            aload 0 /* this */
            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 // long duration
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
         0: .line 67
            aload 0 /* this */
            getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
            invokevirtual jdk.jfr.internal.PlatformEventType.isCommittable:()Z
            ireturn
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
         0: .line 71
            aload 0 /* this */
            getfield jdk.jfr.internal.handlers.EventHandler.eventType:Ljdk/jfr/EventType;
            areturn
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
         0: .line 75
            aload 0 /* this */
            getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
            areturn
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
         0: .line 79
            aload 0 /* this */
            getfield jdk.jfr.internal.handlers.EventHandler.eventControl:Ljdk/jfr/internal/EventControl;
            areturn
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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: .line 83
            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 // long startTime
         0: .line 87
            lload 0 /* startTime */
            lconst_0
            lcmp
            ifne 2
         1: .line 91
            lconst_0
            lreturn
         2: .line 93
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
            lload 0 /* startTime */
            lsub
            lreturn
        end local 0 // long startTime
      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 // jdk.jfr.internal.handlers.EventHandler this
         0: .line 99
            new java.lang.CloneNotSupportedException
            dup
            invokespecial java.lang.CloneNotSupportedException.<init>:()V
            athrow
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // java.io.ObjectOutputStream out
         0: .line 103
            new java.io.IOException
            dup
            ldc "Object cannot be serialized"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.io.ObjectOutputStream out
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // java.io.ObjectInputStream in
         0: .line 107
            new java.io.IOException
            dup
            ldc "Class cannot be deserialized"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.io.ObjectInputStream in
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
         0: .line 111
            aload 0 /* this */
            getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
            invokevirtual jdk.jfr.internal.PlatformEventType.isRegistered:()Z
            ireturn
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // boolean registered
         0: .line 115
            aload 0 /* this */
            getfield jdk.jfr.internal.handlers.EventHandler.platformEventType:Ljdk/jfr/internal/PlatformEventType;
            iload 1 /* registered */
            invokevirtual jdk.jfr.internal.PlatformEventType.setRegistered:(Z)Z
            ireturn
        end local 1 // boolean registered
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // long start
        start local 3 // long duration
        start local 5 // java.lang.String host
        start local 6 // java.lang.String address
        start local 7 // int port
        start local 8 // long timeout
        start local 10 // long bytesRead
        start local 12 // boolean endOfSTream
         0: .line 119
            aload 0 /* this */
            ldc "SocketReadEvent"
            invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
         1: .line 120
            return
        end local 12 // boolean endOfSTream
        end local 10 // long bytesRead
        end local 8 // long timeout
        end local 7 // int port
        end local 6 // java.lang.String address
        end local 5 // java.lang.String host
        end local 3 // long duration
        end local 1 // long start
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // long start
        start local 3 // long duration
        start local 5 // java.lang.String host
        start local 6 // java.lang.String address
        start local 7 // int port
        start local 8 // long bytesWritten
         0: .line 123
            aload 0 /* this */
            ldc "SocketWriteEvent"
            invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
         1: .line 124
            return
        end local 8 // long bytesWritten
        end local 7 // int port
        end local 6 // java.lang.String address
        end local 5 // java.lang.String host
        end local 3 // long duration
        end local 1 // long start
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // long start
        start local 3 // long duration
        start local 5 // java.lang.String path
        start local 6 // boolean metadata
         0: .line 127
            aload 0 /* this */
            ldc "FileForceEvent"
            invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
         1: .line 128
            return
        end local 6 // boolean metadata
        end local 5 // java.lang.String path
        end local 3 // long duration
        end local 1 // long start
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // long start
        start local 3 // long duration
        start local 5 // java.lang.String path
        start local 6 // long bytesRead
        start local 8 // boolean endOfFile
         0: .line 131
            aload 0 /* this */
            ldc "FileReadEvent"
            invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
         1: .line 132
            return
        end local 8 // boolean endOfFile
        end local 6 // long bytesRead
        end local 5 // java.lang.String path
        end local 3 // long duration
        end local 1 // long start
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // long start
        start local 3 // long duration
        start local 5 // java.lang.String path
        start local 6 // long bytesWritten
         0: .line 135
            aload 0 /* this */
            ldc "FileWriteEvent"
            invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
         1: .line 136
            return
        end local 6 // long bytesWritten
        end local 5 // java.lang.String path
        end local 3 // long duration
        end local 1 // long start
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // long start
        start local 3 // long duration
        start local 5 // java.lang.String path
        start local 6 // java.lang.Class exceptionClass
         0: .line 139
            aload 0 /* this */
            ldc "ExceptionThrownEvent or ErrorThrownEvent"
            invokevirtual jdk.jfr.internal.handlers.EventHandler.throwError:(Ljava/lang/String;)V
         1: .line 140
            return
        end local 6 // java.lang.Class exceptionClass
        end local 5 // java.lang.String path
        end local 3 // long duration
        end local 1 // long start
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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 // jdk.jfr.internal.handlers.EventHandler this
        start local 1 // java.lang.String classes
         0: .line 143
            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 /* classes */
            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 // java.lang.String classes
        end local 0 // jdk.jfr.internal.handlers.EventHandler this
      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"