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: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
putstatic jdk.jfr.internal.RequestEngine.jvm:Ljdk/jfr/internal/JVM;
1: new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
2: ldc 9223372036854775807
putstatic jdk.jfr.internal.RequestEngine.flushInterval:J
3: 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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 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 start local 1 start local 2 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
aload 2
invokestatic jdk.jfr.internal.RequestEngine.addHookInternal:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
2: return
end local 2 end local 1 end local 0 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 start local 1 start local 2 0: new jdk.jfr.internal.RequestEngine$RequestHook
dup
aload 0
aload 1
aload 2
invokespecial jdk.jfr.internal.RequestEngine$RequestHook.<init>:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
astore 3
start local 3 1: 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
start local 4 3: aload 4
getfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
aload 2
if_acmpne 5
4: new java.lang.IllegalArgumentException
dup
ldc "Hook has already been added"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 3
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
iconst_1
invokevirtual jdk.jfr.internal.PlatformEventType.setEventHook:(Z)V
7: getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: ldc "Added"
aload 1
invokestatic jdk.jfr.internal.RequestEngine.logHook:(Ljava/lang/String;Ljdk/jfr/internal/PlatformEventType;)V
9: return
end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnull 2
1: 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: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnull 4
3: 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: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
aload 0
invokevirtual jdk.jfr.internal.MetadataRepository.getEventType:(Ljava/lang/Class;)Ljdk/jfr/EventType;
astore 2
start local 2 5: 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;
astore 3
start local 3 6: aconst_null
aload 3
aload 1
invokestatic jdk.jfr.internal.RequestEngine.addHookInternal:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
7: return
end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 1
invokevirtual jdk.jfr.internal.PlatformEventType.isJDK:()Z
ifne 1
aload 1
invokevirtual jdk.jfr.internal.PlatformEventType.isJVM:()Z
ifeq 3
1: 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
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
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: goto 4
3: 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
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
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: StackMap locals:
StackMap stack:
return
end local 1 end local 0 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 0: 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
start local 1 2: aload 1
getfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
aload 0
if_acmpne 7
3: getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
4: aload 1
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
iconst_0
invokevirtual jdk.jfr.internal.PlatformEventType.setEventHook:(Z)V
5: ldc "Removed"
aload 1
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: iconst_1
ireturn
end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: iconst_0
ireturn
end local 0 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 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
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
start local 2 3: aload 2
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
iconst_1
invokevirtual jdk.jfr.internal.PlatformEventType.setEventHook:(Z)V
4: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: ldc "Added"
aload 2
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 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: getstatic jdk.jfr.internal.RequestEngine.entries:Ljava/util/List;
aload 0
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
8: return
end local 1 end local 0 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: 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: 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: 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: 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 0: 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
start local 1 2: aload 1
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
astore 3
start local 3 3: aload 3
invokevirtual jdk.jfr.internal.PlatformEventType.isEnabled:()Z
ifeq 5
aload 0
aload 3
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 5
4: aload 1
invokevirtual jdk.jfr.internal.RequestEngine$RequestHook.execute:()V
end local 3 end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 0 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: 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 0: getstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
lstore 1
start local 1 1: invokestatic java.lang.System.currentTimeMillis:()J
lstore 3
start local 3 2: lconst_0
lstore 5
start local 5 3: lconst_0
lstore 7
start local 7 4: lload 1
lconst_0
lcmp
ifne 6
5: lload 3
lstore 1
6: StackMap locals: java.util.Collection long long long long
StackMap stack:
lload 3
lload 1
lsub
lstore 7
7: lload 7
lconst_0
lcmp
ifge 10
8: lload 3
putstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
9: lconst_0
lreturn
10: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 9
start local 9 11: goto 29
12: StackMap locals: java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.RequestEngine$RequestHook
astore 10
start local 10 13: lconst_0
lstore 11
start local 11 14: aload 10
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
astore 13
start local 13 15: aload 13
invokevirtual jdk.jfr.internal.PlatformEventType.isEnabled:()Z
ifeq 29
aload 13
invokevirtual jdk.jfr.internal.PlatformEventType.isEveryChunk:()Z
ifeq 17
16: goto 29
17: StackMap locals: jdk.jfr.internal.RequestEngine$RequestHook long jdk.jfr.internal.PlatformEventType
StackMap stack:
aload 13
invokevirtual jdk.jfr.internal.PlatformEventType.getPeriod:()J
lstore 14
start local 14 18: aload 10
getfield jdk.jfr.internal.RequestEngine$RequestHook.delta:J
lstore 16
start local 16 19: lload 16
lload 7
ladd
lstore 16
20: lload 16
lload 14
lcmp
iflt 23
21: lconst_0
lstore 16
22: aload 10
invokevirtual jdk.jfr.internal.RequestEngine$RequestHook.execute:()V
23: StackMap locals: long long
StackMap stack:
lload 14
lload 16
lsub
lstore 11
24: lload 11
lconst_0
lcmp
ifge 26
25: lconst_0
lstore 11
26: StackMap locals:
StackMap stack:
aload 10
lload 16
putfield jdk.jfr.internal.RequestEngine$RequestHook.delta:J
27: lload 5
lconst_0
lcmp
ifeq 28
lload 11
lload 5
lcmp
ifge 29
28: StackMap locals:
StackMap stack:
lload 11
lstore 5
end local 16 end local 14 end local 13 end local 11 end local 10 29: StackMap locals: java.util.Collection long long long long java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
30: getstatic jdk.jfr.internal.RequestEngine.flushInterval:J
ldc 9223372036854775807
lcmp
ifeq 44
31: getstatic jdk.jfr.internal.RequestEngine.flushInterval:J
lstore 10
start local 10 32: getstatic jdk.jfr.internal.RequestEngine.streamDelta:J
lstore 12
start local 12 33: lload 12
lload 7
ladd
lstore 12
34: lload 12
lload 10
lcmp
iflt 38
35: lconst_0
lstore 12
36: invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
invokevirtual jdk.jfr.internal.MetadataRepository.flush:()V
37: invokestatic jdk.jfr.internal.Utils.notifyFlush:()V
38: StackMap locals: long long
StackMap stack:
lload 10
lload 12
lsub
lstore 14
start local 14 39: lload 14
lconst_0
lcmp
ifge 41
40: lconst_0
lstore 14
41: StackMap locals: long
StackMap stack:
lload 12
putstatic jdk.jfr.internal.RequestEngine.streamDelta:J
42: lload 5
lconst_0
lcmp
ifeq 43
lload 14
lload 5
lcmp
ifge 44
43: StackMap locals:
StackMap stack:
lload 14
lstore 5
end local 14 end local 12 end local 10 44: StackMap locals:
StackMap stack:
lload 3
putstatic jdk.jfr.internal.RequestEngine.lastTimeMillis:J
45: lload 5
lreturn
end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 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 0: lload 0
ldc 1000
lcmp
ifge 1
ldc 1000
goto 2
StackMap locals:
StackMap stack:
1: lload 0
StackMap locals:
StackMap stack: long
2: lstore 2
start local 2 3: lload 2
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
start local 4 6: lload 2
putstatic jdk.jfr.internal.RequestEngine.flushInterval:J
7: iload 4
ifeq 14
8: getstatic jdk.jfr.internal.JVM.FILE_DELTA_CHANGE:Ljava/lang/Object;
dup
astore 5
monitorenter
9: getstatic jdk.jfr.internal.JVM.FILE_DELTA_CHANGE:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
10: 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: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.isEndChunk:()Z
ireturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.isBeginChunk:()Z
ireturn
end local 0 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