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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 42
            invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
            putstatic jdk.jfr.internal.RequestEngine.jvm:Ljdk/jfr/internal/JVM;
         1: .line 97
            new java.util.concurrent.CopyOnWriteArrayList
            dup
            invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
            putstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
         2: .line 98
            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 40
            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 101
            aload 0 /* acc */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 102
            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 103
            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 106
            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 107
            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 108
            aload 4 /* e */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
            aload 2 /* hook */
            if_acmpne 5
         4: .line 109
            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 107
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 112
            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 116
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            aload 3 /* he */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         8: .line 117
            ldc "Added"
            aload 1 /* type */
            invokestatic jdk.jfr.internal.RequestEngine.logHook:(Ljava/lang/String;Ljdk/jfr/internal/PlatformEventType;)V
         9: .line 118
            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 121
            aload 0 /* eventClass */
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            ifnull 2
         1: .line 122
            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 124
      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 125
            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 127
      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 128
            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 129
            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 130
            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 133
            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 134
      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 135
            goto 4
         3: .line 136
      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 138
      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 142
            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 143
            aload 1 /* rh */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
            aload 0 /* hook */
            if_acmpne 7
         3: .line 144
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            aload 1 /* rh */
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            pop
         4: .line 145
            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 146
            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 147
            iconst_1
            ireturn
        end local 1 // jdk.jfr.internal.RequestEngine$RequestHook rh
         7: .line 142
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         8: .line 150
            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 156
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* addEntries */
        start local 1 // java.util.List addEntries
         1: .line 157
            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 158
            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 159
            aload 1 /* addEntries */
            aload 2 /* rh */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 160
            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 157
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 162
            getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
            aload 0 /* newEntries */
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
         8: .line 163
            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 166
            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 167
            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 170
            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 171
            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 174
            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 175
            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 176
            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 177
            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 174
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         6: .line 180
            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 183
            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 188
            getstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
            lstore 1 /* last */
        start local 1 // long last
         1: .line 195
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 3 /* now */
        start local 3 // long now
         2: .line 196
            lconst_0
            lstore 5 /* min */
        start local 5 // long min
         3: .line 197
            lconst_0
            lstore 7 /* delta */
        start local 7 // long delta
         4: .line 199
            lload 1 /* last */
            lconst_0
            lcmp
            ifne 6
         5: .line 200
            lload 3 /* now */
            lstore 1 /* last */
         6: .line 204
      StackMap locals: java.util.Collection long long long long
      StackMap stack:
            lload 3 /* now */
            lload 1 /* last */
            lsub
            lstore 7 /* delta */
         7: .line 206
            lload 7 /* delta */
            lconst_0
            lcmp
            ifge 10
         8: .line 209
            lload 3 /* now */
            putstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
         9: .line 210
            lconst_0
            lreturn
        10: .line 212
      StackMap locals:
      StackMap stack:
            aload 0 /* entries */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 10
            goto 28
      StackMap locals: java.util.Collection long long long long top java.util.Iterator
      StackMap stack:
        11: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.internal.RequestEngine$RequestHook
            astore 9 /* he */
        start local 9 // jdk.jfr.internal.RequestEngine$RequestHook he
        12: .line 213
            lconst_0
            lstore 11 /* left */
        start local 11 // long left
        13: .line 214
            aload 9 /* he */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
            astore 13 /* es */
        start local 13 // jdk.jfr.internal.PlatformEventType es
        14: .line 216
            aload 13 /* es */
            invokevirtual jdk.jfr.internal.PlatformEventType.isEnabled:()Z
            ifeq 28
            aload 13 /* es */
            invokevirtual jdk.jfr.internal.PlatformEventType.isEveryChunk:()Z
            ifeq 16
        15: .line 217
            goto 28
        16: .line 219
      StackMap locals: java.util.Collection long long long long jdk.jfr.internal.RequestEngine$RequestHook java.util.Iterator 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
        17: .line 220
            aload 9 /* he */
            getfield jdk.jfr.internal.RequestEngine$RequestHook.delta:J
            lstore 16 /* r_delta */
        start local 16 // long r_delta
        18: .line 223
            lload 16 /* r_delta */
            lload 7 /* delta */
            ladd
            lstore 16 /* r_delta */
        19: .line 226
            lload 16 /* r_delta */
            lload 14 /* r_period */
            lcmp
            iflt 22
        20: .line 229
            lconst_0
            lstore 16 /* r_delta */
        21: .line 230
            aload 9 /* he */
            invokevirtual jdk.jfr.internal.RequestEngine$RequestHook.execute:()V
        22: .line 235
      StackMap locals: long long
      StackMap stack:
            lload 14 /* r_period */
            lload 16 /* r_delta */
            lsub
            lstore 11 /* left */
        23: .line 242
            lload 11 /* left */
            lconst_0
            lcmp
            ifge 25
        24: .line 243
            lconst_0
            lstore 11 /* left */
        25: .line 247
      StackMap locals:
      StackMap stack:
            aload 9 /* he */
            lload 16 /* r_delta */
            putfield jdk.jfr.internal.RequestEngine$RequestHook.delta:J
        26: .line 249
            lload 5 /* min */
            lconst_0
            lcmp
            ifeq 27
            lload 11 /* left */
            lload 5 /* min */
            lcmp
            ifge 28
        27: .line 250
      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 9 // jdk.jfr.internal.RequestEngine$RequestHook he
        28: .line 212
      StackMap locals: java.util.Collection long long long long top java.util.Iterator
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        29: .line 253
            lload 3 /* now */
            putstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
        30: .line 254
            lload 5 /* min */
            lreturn
        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   31     0   entries  Ljava/util/Collection<Ljdk/jfr/internal/RequestEngine$RequestHook;>;
            1   31     1      last  J
            2   31     3       now  J
            3   31     5       min  J
            4   31     7     delta  J
           12   28     9        he  Ljdk/jfr/internal/RequestEngine$RequestHook;
           13   28    11      left  J
           14   28    13        es  Ljdk/jfr/internal/PlatformEventType;
           17   28    14  r_period  J
           18   28    16   r_delta  J
    Signature: (Ljava/util/Collection<Ljdk/jfr/internal/RequestEngine$RequestHook;>;)J
    MethodParameters:
         Name  Flags
      entries  

  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 166
            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 170
            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