public final class jdk.jfr.internal.RequestEngine
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.RequestEngine
  super_class: java.lang.Object
{
  private static final jdk.jfr.internal.JVM jvm;
    descriptor: Ljdk/jfr/internal/JVM;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.List<jdk.jfr.internal.RequestEngine$RequestHook> entries;
    descriptor: Ljava/util/List;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/jfr/internal/RequestEngine$RequestHook;>;

  private static long lastTimeMillis;
    descriptor: J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static long flushInterval;
    descriptor: J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static long streamDelta;
    descriptor: J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 43
            invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
            putstatic jdk.jfr.internal.RequestEngine.jvm:Ljdk/jfr/internal/JVM;
         1: .line 102
            new java.util.concurrent.CopyOnWriteArrayList
            dup
            invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
            putstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
         2: .line 104
            ldc 9223372036854775807
            putstatic jdk.jfr.internal.RequestEngine.flushInterval:J
         3: .line 105
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.RequestEngine this
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.jfr.internal.RequestEngine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/RequestEngine;

  public static void addHook(java.security.AccessControlContext, jdk.jfr.internal.PlatformEventType, java.lang.Runnable);
    descriptor: (Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.security.AccessControlContext acc
        start local 1 // jdk.jfr.internal.PlatformEventType type
        start local 2 // java.lang.Runnable hook
         0: .line 108
            aload 0 /* acc */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 109
            aload 0 /* acc */
            aload 1 /* type */
            aload 2 /* hook */
            invokestatic jdk.jfr.internal.RequestEngine.addHookInternal:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
         2: .line 110
            return
        end local 2 // java.lang.Runnable hook
        end local 1 // jdk.jfr.internal.PlatformEventType type
        end local 0 // java.security.AccessControlContext acc
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0   acc  Ljava/security/AccessControlContext;
            0    3     1  type  Ljdk/jfr/internal/PlatformEventType;
            0    3     2  hook  Ljava/lang/Runnable;
    MethodParameters:
      Name  Flags
      acc   
      type  
      hook  

  private static void addHookInternal(java.security.AccessControlContext, jdk.jfr.internal.PlatformEventType, java.lang.Runnable);
    descriptor: (Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // java.security.AccessControlContext acc
        start local 1 // jdk.jfr.internal.PlatformEventType type
        start local 2 // java.lang.Runnable hook
         0: .line 113
            new jdk.jfr.internal.RequestEngine$RequestHook
            dup
            aload 0 /* acc */
            aload 1 /* type */
            aload 2 /* hook */
            invokespecial jdk.jfr.internal.RequestEngine$RequestHook.<init>:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
            astore 3 /* he */
        start local 3 // jdk.jfr.internal.RequestEngine$RequestHook he
         1: .line 114
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 5
      StackMap locals: java.security.AccessControlContext jdk.jfr.internal.PlatformEventType java.lang.Runnable jdk.jfr.internal.RequestEngine$RequestHook top java.util.Iterator
      StackMap stack:
         2: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RequestEngine$RequestHook
            astore 4 /* e */
        start local 4 // jdk.jfr.internal.RequestEngine$RequestHook e
         3: .line 115
            aload 4 /* e */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
            aload 2 /* hook */
            if_acmpne 5
         4: .line 116
            new java.lang.IllegalArgumentException
            dup
            ldc "Hook has already been added"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // jdk.jfr.internal.RequestEngine$RequestHook e
         5: .line 114
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 119
            aload 3 /* he */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformEventType.setEventHook:(Z)V
         7: .line 123
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            aload 3 /* he */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         8: .line 124
            ldc "Added"
            aload 1 /* type */
            invokestatic jdk.jfr.internal.RequestEngine.logHook:(Ljava/lang/String;Ljdk/jfr/internal/PlatformEventType;)V
         9: .line 125
            return
        end local 3 // jdk.jfr.internal.RequestEngine$RequestHook he
        end local 2 // java.lang.Runnable hook
        end local 1 // jdk.jfr.internal.PlatformEventType type
        end local 0 // java.security.AccessControlContext acc
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0   acc  Ljava/security/AccessControlContext;
            0   10     1  type  Ljdk/jfr/internal/PlatformEventType;
            0   10     2  hook  Ljava/lang/Runnable;
            1   10     3    he  Ljdk/jfr/internal/RequestEngine$RequestHook;
            3    5     4     e  Ljdk/jfr/internal/RequestEngine$RequestHook;
    MethodParameters:
      Name  Flags
      acc   
      type  
      hook  

  public static void addTrustedJDKHook(java.lang.Class<? extends jdk.jfr.Event>, java.lang.Runnable);
    descriptor: (Ljava/lang/Class;Ljava/lang/Runnable;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // java.lang.Class eventClass
        start local 1 // java.lang.Runnable runnable
         0: .line 128
            aload 0 /* eventClass */
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            ifnull 2
         1: .line 129
            new java.lang.SecurityException
            dup
            ldc "Hook can only be registered for event classes that are loaded by the bootstrap class loader"
            invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 131
      StackMap locals:
      StackMap stack:
            aload 1 /* runnable */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            ifnull 4
         3: .line 132
            new java.lang.SecurityException
            dup
            ldc "Runnable hook class must be loaded by the bootstrap class loader"
            invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 134
      StackMap locals:
      StackMap stack:
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            aload 0 /* eventClass */
            invokevirtual jdk.jfr.internal.MetadataRepository.getEventType:(Ljava/lang/Class;)Ljdk/jfr/EventType;
            astore 2 /* eType */
        start local 2 // jdk.jfr.EventType eType
         5: .line 135
            invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
            aload 2 /* eType */
            invokevirtual jdk.jfr.internal.PrivateAccess.getPlatformEventType:(Ljdk/jfr/EventType;)Ljdk/jfr/internal/PlatformEventType;
            astore 3 /* pType */
        start local 3 // jdk.jfr.internal.PlatformEventType pType
         6: .line 136
            aconst_null
            aload 3 /* pType */
            aload 1 /* runnable */
            invokestatic jdk.jfr.internal.RequestEngine.addHookInternal:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
         7: .line 137
            return
        end local 3 // jdk.jfr.internal.PlatformEventType pType
        end local 2 // jdk.jfr.EventType eType
        end local 1 // java.lang.Runnable runnable
        end local 0 // java.lang.Class eventClass
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0  eventClass  Ljava/lang/Class<+Ljdk/jfr/Event;>;
            0    8     1    runnable  Ljava/lang/Runnable;
            5    8     2       eType  Ljdk/jfr/EventType;
            6    8     3       pType  Ljdk/jfr/internal/PlatformEventType;
    Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;Ljava/lang/Runnable;)V
    MethodParameters:
            Name  Flags
      eventClass  
      runnable    

  private static void logHook(java.lang.String, jdk.jfr.internal.PlatformEventType);
    descriptor: (Ljava/lang/String;Ljdk/jfr/internal/PlatformEventType;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.lang.String action
        start local 1 // jdk.jfr.internal.PlatformEventType type
         0: .line 140
            aload 1 /* type */
            invokevirtual jdk.jfr.internal.PlatformEventType.isJDK:()Z
            ifne 1
            aload 1 /* type */
            invokevirtual jdk.jfr.internal.PlatformEventType.isJVM:()Z
            ifeq 3
         1: .line 141
      StackMap locals:
      StackMap stack:
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_EVENT:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            aload 0 /* action */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " periodic hook for "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* type */
            invokevirtual jdk.jfr.internal.PlatformEventType.getLogName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         2: .line 142
            goto 4
         3: .line 143
      StackMap locals:
      StackMap stack:
            getstatic jdk.jfr.internal.LogTag.JFR_EVENT:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            aload 0 /* action */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " periodic hook for "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* type */
            invokevirtual jdk.jfr.internal.PlatformEventType.getLogName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
         4: .line 145
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.jfr.internal.PlatformEventType type
        end local 0 // java.lang.String action
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0  action  Ljava/lang/String;
            0    5     1    type  Ljdk/jfr/internal/PlatformEventType;
    MethodParameters:
        Name  Flags
      action  
      type    

  public static boolean removeHook(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.Runnable hook
         0: .line 149
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 7
      StackMap locals: java.lang.Runnable top java.util.Iterator
      StackMap stack:
         1: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RequestEngine$RequestHook
            astore 1 /* rh */
        start local 1 // jdk.jfr.internal.RequestEngine$RequestHook rh
         2: .line 150
            aload 1 /* rh */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
            aload 0 /* hook */
            if_acmpne 7
         3: .line 151
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            aload 1 /* rh */
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            pop
         4: .line 152
            aload 1 /* rh */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            iconst_0
            invokevirtual jdk.jfr.internal.PlatformEventType.setEventHook:(Z)V
         5: .line 153
            ldc "Removed"
            aload 1 /* rh */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            invokestatic jdk.jfr.internal.RequestEngine.logHook:(Ljava/lang/String;Ljdk/jfr/internal/PlatformEventType;)V
         6: .line 154
            iconst_1
            ireturn
        end local 1 // jdk.jfr.internal.RequestEngine$RequestHook rh
         7: .line 149
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         8: .line 157
            iconst_0
            ireturn
        end local 0 // java.lang.Runnable hook
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  hook  Ljava/lang/Runnable;
            2    7     1    rh  Ljdk/jfr/internal/RequestEngine$RequestHook;
    MethodParameters:
      Name  Flags
      hook  

  static void addHooks(java.util.List<jdk.jfr.internal.RequestEngine$RequestHook>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // java.util.List newEntries
         0: .line 163
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* addEntries */
        start local 1 // java.util.List addEntries
         1: .line 164
            aload 0 /* newEntries */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 6
      StackMap locals: java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RequestEngine$RequestHook
            astore 2 /* rh */
        start local 2 // jdk.jfr.internal.RequestEngine$RequestHook rh
         3: .line 165
            aload 2 /* rh */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            iconst_1
            invokevirtual jdk.jfr.internal.PlatformEventType.setEventHook:(Z)V
         4: .line 166
            aload 1 /* addEntries */
            aload 2 /* rh */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 167
            ldc "Added"
            aload 2 /* rh */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            invokestatic jdk.jfr.internal.RequestEngine.logHook:(Ljava/lang/String;Ljdk/jfr/internal/PlatformEventType;)V
        end local 2 // jdk.jfr.internal.RequestEngine$RequestHook rh
         6: .line 164
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 169
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            aload 0 /* newEntries */
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         8: .line 170
            return
        end local 1 // java.util.List addEntries
        end local 0 // java.util.List newEntries
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0  newEntries  Ljava/util/List<Ljdk/jfr/internal/RequestEngine$RequestHook;>;
            1    9     1  addEntries  Ljava/util/List<Ljdk/jfr/internal/RequestEngine$RequestHook;>;
            3    6     2          rh  Ljdk/jfr/internal/RequestEngine$RequestHook;
    Signature: (Ljava/util/List<Ljdk/jfr/internal/RequestEngine$RequestHook;>;)V
    MethodParameters:
            Name  Flags
      newEntries  

  static void doChunkEnd();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 173
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  jdk/jfr/internal/RequestEngine.lambda$0(Ljdk/jfr/internal/PlatformEventType;)Z (6)
                  (Ljdk/jfr/internal/PlatformEventType;)Z
            invokestatic jdk.jfr.internal.RequestEngine.doChunk:(Ljava/util/function/Predicate;)V
         1: .line 174
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static void doChunkBegin();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 177
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  jdk/jfr/internal/RequestEngine.lambda$1(Ljdk/jfr/internal/PlatformEventType;)Z (6)
                  (Ljdk/jfr/internal/PlatformEventType;)Z
            invokestatic jdk.jfr.internal.RequestEngine.doChunk:(Ljava/util/function/Predicate;)V
         1: .line 178
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void doChunk(java.util.function.Predicate<jdk.jfr.internal.PlatformEventType>);
    descriptor: (Ljava/util/function/Predicate;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // java.util.function.Predicate predicate
         0: .line 181
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 5
      StackMap locals: java.util.function.Predicate top java.util.Iterator
      StackMap stack:
         1: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RequestEngine$RequestHook
            astore 1 /* requestHook */
        start local 1 // jdk.jfr.internal.RequestEngine$RequestHook requestHook
         2: .line 182
            aload 1 /* requestHook */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            astore 3 /* s */
        start local 3 // jdk.jfr.internal.PlatformEventType s
         3: .line 183
            aload 3 /* s */
            invokevirtual jdk.jfr.internal.PlatformEventType.isEnabled:()Z
            ifeq 5
            aload 0 /* predicate */
            aload 3 /* s */
            invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
            ifeq 5
         4: .line 184
            aload 1 /* requestHook */
            invokevirtual jdk.jfr.internal.RequestEngine$RequestHook.execute:()V
        end local 3 // jdk.jfr.internal.PlatformEventType s
        end local 1 // jdk.jfr.internal.RequestEngine$RequestHook requestHook
         5: .line 181
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         6: .line 187
            return
        end local 0 // java.util.function.Predicate predicate
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0    predicate  Ljava/util/function/Predicate<Ljdk/jfr/internal/PlatformEventType;>;
            2    5     1  requestHook  Ljdk/jfr/internal/RequestEngine$RequestHook;
            3    5     3            s  Ljdk/jfr/internal/PlatformEventType;
    Signature: (Ljava/util/function/Predicate<Ljdk/jfr/internal/PlatformEventType;>;)V
    MethodParameters:
           Name  Flags
      predicate  

  static long doPeriodic();
    descriptor: ()J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 190
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            invokestatic jdk.jfr.internal.RequestEngine.run_requests:(Ljava/util/Collection;)J
            lreturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static long run_requests(java.util.Collection<jdk.jfr.internal.RequestEngine$RequestHook>);
    descriptor: (Ljava/util/Collection;)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=18, args_size=1
        start local 0 // java.util.Collection entries
         0: .line 195
            getstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
            lstore 1 /* last */
        start local 1 // long last
         1: .line 202
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 3 /* now */
        start local 3 // long now
         2: .line 203
            lconst_0
            lstore 5 /* min */
        start local 5 // long min
         3: .line 204
            lconst_0
            lstore 7 /* delta */
        start local 7 // long delta
         4: .line 206
            lload 1 /* last */
            lconst_0
            lcmp
            ifne 6
         5: .line 207
            lload 3 /* now */
            lstore 1 /* last */
         6: .line 211
      StackMap locals: java.util.Collection long long long long
      StackMap stack:
            lload 3 /* now */
            lload 1 /* last */
            lsub
            lstore 7 /* delta */
         7: .line 213
            lload 7 /* delta */
            lconst_0
            lcmp
            ifge 10
         8: .line 216
            lload 3 /* now */
            putstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
         9: .line 217
            lconst_0
            lreturn
        10: .line 219
      StackMap locals:
      StackMap stack:
            aload 0 /* entries */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 9 /* hookIterator */
        start local 9 // java.util.Iterator hookIterator
        11: .line 220
            goto 29
        12: .line 221
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 9 /* hookIterator */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RequestEngine$RequestHook
            astore 10 /* he */
        start local 10 // jdk.jfr.internal.RequestEngine$RequestHook he
        13: .line 222
            lconst_0
            lstore 11 /* left */
        start local 11 // long left
        14: .line 223
            aload 10 /* he */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            astore 13 /* es */
        start local 13 // jdk.jfr.internal.PlatformEventType es
        15: .line 225
            aload 13 /* es */
            invokevirtual jdk.jfr.internal.PlatformEventType.isEnabled:()Z
            ifeq 29
            aload 13 /* es */
            invokevirtual jdk.jfr.internal.PlatformEventType.isEveryChunk:()Z
            ifeq 17
        16: .line 226
            goto 29
        17: .line 228
      StackMap locals: jdk.jfr.internal.RequestEngine$RequestHook long jdk.jfr.internal.PlatformEventType
      StackMap stack:
            aload 13 /* es */
            invokevirtual jdk.jfr.internal.PlatformEventType.getPeriod:()J
            lstore 14 /* r_period */
        start local 14 // long r_period
        18: .line 229
            aload 10 /* he */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.delta:J
            lstore 16 /* r_delta */
        start local 16 // long r_delta
        19: .line 232
            lload 16 /* r_delta */
            lload 7 /* delta */
            ladd
            lstore 16 /* r_delta */
        20: .line 235
            lload 16 /* r_delta */
            lload 14 /* r_period */
            lcmp
            iflt 23
        21: .line 238
            lconst_0
            lstore 16 /* r_delta */
        22: .line 239
            aload 10 /* he */
            invokevirtual jdk.jfr.internal.RequestEngine$RequestHook.execute:()V
        23: .line 243
      StackMap locals: long long
      StackMap stack:
            lload 14 /* r_period */
            lload 16 /* r_delta */
            lsub
            lstore 11 /* left */
        24: .line 250
            lload 11 /* left */
            lconst_0
            lcmp
            ifge 26
        25: .line 251
            lconst_0
            lstore 11 /* left */
        26: .line 255
      StackMap locals:
      StackMap stack:
            aload 10 /* he */
            lload 16 /* r_delta */
            putfield jdk.jfr.internal.RequestEngine$RequestHook.delta:J
        27: .line 257
            lload 5 /* min */
            lconst_0
            lcmp
            ifeq 28
            lload 11 /* left */
            lload 5 /* min */
            lcmp
            ifge 29
        28: .line 258
      StackMap locals:
      StackMap stack:
            lload 11 /* left */
            lstore 5 /* min */
        end local 16 // long r_delta
        end local 14 // long r_period
        end local 13 // jdk.jfr.internal.PlatformEventType es
        end local 11 // long left
        end local 10 // jdk.jfr.internal.RequestEngine$RequestHook he
        29: .line 220
      StackMap locals: java.util.Collection long long long long java.util.Iterator
      StackMap stack:
            aload 9 /* hookIterator */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 12
        30: .line 263
            getstatic jdk.jfr.internal.RequestEngine.flushInterval:J
            ldc 9223372036854775807
            lcmp
            ifeq 44
        31: .line 264
            getstatic jdk.jfr.internal.RequestEngine.flushInterval:J
            lstore 10 /* r_period */
        start local 10 // long r_period
        32: .line 265
            getstatic jdk.jfr.internal.RequestEngine.streamDelta:J
            lstore 12 /* r_delta */
        start local 12 // long r_delta
        33: .line 266
            lload 12 /* r_delta */
            lload 7 /* delta */
            ladd
            lstore 12 /* r_delta */
        34: .line 267
            lload 12 /* r_delta */
            lload 10 /* r_period */
            lcmp
            iflt 38
        35: .line 268
            lconst_0
            lstore 12 /* r_delta */
        36: .line 269
            invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
            invokevirtual jdk.jfr.internal.MetadataRepository.flush:()V
        37: .line 270
            invokestatic jdk.jfr.internal.Utils.notifyFlush:()V
        38: .line 272
      StackMap locals: long long
      StackMap stack:
            lload 10 /* r_period */
            lload 12 /* r_delta */
            lsub
            lstore 14 /* left */
        start local 14 // long left
        39: .line 273
            lload 14 /* left */
            lconst_0
            lcmp
            ifge 41
        40: .line 274
            lconst_0
            lstore 14 /* left */
        41: .line 276
      StackMap locals: long
      StackMap stack:
            lload 12 /* r_delta */
            putstatic jdk.jfr.internal.RequestEngine.streamDelta:J
        42: .line 277
            lload 5 /* min */
            lconst_0
            lcmp
            ifeq 43
            lload 14 /* left */
            lload 5 /* min */
            lcmp
            ifge 44
        43: .line 278
      StackMap locals:
      StackMap stack:
            lload 14 /* left */
            lstore 5 /* min */
        end local 14 // long left
        end local 12 // long r_delta
        end local 10 // long r_period
        44: .line 282
      StackMap locals:
      StackMap stack:
            lload 3 /* now */
            putstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
        45: .line 283
            lload 5 /* min */
            lreturn
        end local 9 // java.util.Iterator hookIterator
        end local 7 // long delta
        end local 5 // long min
        end local 3 // long now
        end local 1 // long last
        end local 0 // java.util.Collection entries
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   46     0       entries  Ljava/util/Collection<Ljdk/jfr/internal/RequestEngine$RequestHook;>;
            1   46     1          last  J
            2   46     3           now  J
            3   46     5           min  J
            4   46     7         delta  J
           11   46     9  hookIterator  Ljava/util/Iterator<Ljdk/jfr/internal/RequestEngine$RequestHook;>;
           13   29    10            he  Ljdk/jfr/internal/RequestEngine$RequestHook;
           14   29    11          left  J
           15   29    13            es  Ljdk/jfr/internal/PlatformEventType;
           18   29    14      r_period  J
           19   29    16       r_delta  J
           32   44    10      r_period  J
           33   44    12       r_delta  J
           39   44    14          left  J
    Signature: (Ljava/util/Collection<Ljdk/jfr/internal/RequestEngine$RequestHook;>;)J
    MethodParameters:
         Name  Flags
      entries  

  static void setFlushInterval(long);
    descriptor: (J)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // long millis
         0: .line 288
            lload 0 /* millis */
            ldc 1000
            lcmp
            ifge 1
            ldc 1000
            goto 2
      StackMap locals:
      StackMap stack:
         1: lload 0 /* millis */
      StackMap locals:
      StackMap stack: long
         2: lstore 2 /* interval */
        start local 2 // long interval
         3: .line 289
            lload 2 /* interval */
            getstatic jdk.jfr.internal.RequestEngine.flushInterval:J
            lcmp
            ifge 4
            iconst_1
            goto 5
      StackMap locals: long
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: istore 4 /* needNotify */
        start local 4 // boolean needNotify
         6: .line 290
            lload 2 /* interval */
            putstatic jdk.jfr.internal.RequestEngine.flushInterval:J
         7: .line 291
            iload 4 /* needNotify */
            ifeq 14
         8: .line 292
            getstatic jdk.jfr.internal.JVM.FILE_DELTA_CHANGE:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
         9: .line 293
            getstatic jdk.jfr.internal.JVM.FILE_DELTA_CHANGE:Ljava/lang/Object;
            invokevirtual java.lang.Object.notifyAll:()V
        10: .line 292
            aload 5
            monitorexit
        11: goto 14
      StackMap locals: long long int java.lang.Object
      StackMap stack: java.lang.Throwable
        12: aload 5
            monitorexit
        13: athrow
        14: .line 296
      StackMap locals:
      StackMap stack:
            return
        end local 4 // boolean needNotify
        end local 2 // long interval
        end local 0 // long millis
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   15     0      millis  J
            3   15     2    interval  J
            6   15     4  needNotify  Z
      Exception table:
        from    to  target  type
           9    11      12  any
          12    13      12  any
    MethodParameters:
        Name  Flags
      millis  

  private static boolean lambda$0(jdk.jfr.internal.PlatformEventType);
    descriptor: (Ljdk/jfr/internal/PlatformEventType;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformEventType x
         0: .line 173
            aload 0 /* x */
            invokevirtual jdk.jfr.internal.PlatformEventType.isEndChunk:()Z
            ireturn
        end local 0 // jdk.jfr.internal.PlatformEventType x
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     x  Ljdk/jfr/internal/PlatformEventType;

  private static boolean lambda$1(jdk.jfr.internal.PlatformEventType);
    descriptor: (Ljdk/jfr/internal/PlatformEventType;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.PlatformEventType x
         0: .line 177
            aload 0 /* x */
            invokevirtual jdk.jfr.internal.PlatformEventType.isBeginChunk:()Z
            ireturn
        end local 0 // jdk.jfr.internal.PlatformEventType x
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     x  Ljdk/jfr/internal/PlatformEventType;
}
SourceFile: "RequestEngine.java"
NestMembers:
  jdk.jfr.internal.RequestEngine$RequestHook  jdk.jfr.internal.RequestEngine$RequestHook$1
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  final RequestHook = jdk.jfr.internal.RequestEngine$RequestHook of jdk.jfr.internal.RequestEngine