final class jdk.jfr.internal.RequestEngine$RequestHook
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.RequestEngine$RequestHook
super_class: java.lang.Object
{
private final java.lang.Runnable hook;
descriptor: Ljava/lang/Runnable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.PlatformEventType type;
descriptor: Ljdk/jfr/internal/PlatformEventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.AccessControlContext accessControllerContext;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long delta;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private void <init>(java.security.AccessControlContext, jdk.jfr.internal.PlatformEventType, java.lang.Runnable);
descriptor: (Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
2: aload 0
aload 2
putfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
3: aload 0
aload 1
putfield jdk.jfr.internal.RequestEngine$RequestHook.accessControllerContext:Ljava/security/AccessControlContext;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/RequestEngine$RequestHook;
0 5 1 acc Ljava/security/AccessControlContext;
0 5 2 eventType Ljdk/jfr/internal/PlatformEventType;
0 5 3 hook Ljava/lang/Runnable;
MethodParameters:
Name Flags
acc
eventType
hook
void <init>(jdk.jfr.internal.PlatformEventType);
descriptor: (Ljdk/jfr/internal/PlatformEventType;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
aconst_null
invokespecial jdk.jfr.internal.RequestEngine$RequestHook.<init>:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/RequestEngine$RequestHook;
0 2 1 eventType Ljdk/jfr/internal/PlatformEventType;
MethodParameters:
Name Flags
eventType
private void execute();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.RequestEngine$RequestHook.accessControllerContext:Ljava/security/AccessControlContext;
ifnonnull 8
1: aload 0
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.isJDK:()Z
ifeq 4
2: aload 0
getfield jdk.jfr.internal.RequestEngine$RequestHook.hook:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
3: goto 5
4: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.RequestEngine.jvm:Ljdk/jfr/internal/JVM;
aload 0
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
invokestatic jdk.jfr.internal.JVM.counterTime:()J
lconst_0
invokevirtual jdk.jfr.internal.JVM.emitEvent:(JJJ)Z
pop
5: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_EVENT:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
ifeq 12
6: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_EVENT:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Executed periodic hook for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
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
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.RequestEngine$RequestHook.executeSecure:()V
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: pop
11: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_EVENT:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.WARN:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Exception occurred during execution of period hook for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.jfr.internal.RequestEngine$RequestHook.type:Ljdk/jfr/internal/PlatformEventType;
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
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/RequestEngine$RequestHook;
Exception table:
from to target type
0 9 10 Class java.lang.Throwable
private void executeSecure();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.jfr.internal.RequestEngine$RequestHook$1
dup
aload 0
invokespecial jdk.jfr.internal.RequestEngine$RequestHook$1.<init>:(Ljdk/jfr/internal/RequestEngine$RequestHook;)V
1: aload 0
getfield jdk.jfr.internal.RequestEngine$RequestHook.accessControllerContext:Ljava/security/AccessControlContext;
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/RequestEngine$RequestHook;
}
SourceFile: "RequestEngine.java"
NestHost: jdk.jfr.internal.RequestEngine
InnerClasses:
final RequestHook = jdk.jfr.internal.RequestEngine$RequestHook of jdk.jfr.internal.RequestEngine
jdk.jfr.internal.RequestEngine$RequestHook$1