public final class jdk.jfr.internal.EventInstrumentation
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.EventInstrumentation
super_class: java.lang.Object
{
public static final java.lang.String FIELD_EVENT_THREAD;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "eventThread"
public static final java.lang.String FIELD_STACK_TRACE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "stackTrace"
public static final java.lang.String FIELD_DURATION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "duration"
static final java.lang.String FIELD_EVENT_HANDLER;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "eventHandler"
static final java.lang.String FIELD_START_TIME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "startTime"
private static final jdk.internal.org.objectweb.asm.Type ANNOTATION_TYPE_NAME;
descriptor: Ljdk/internal/org/objectweb/asm/Type;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.Type ANNOTATION_TYPE_REGISTERED;
descriptor: Ljdk/internal/org/objectweb/asm/Type;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.Type ANNOTATION_TYPE_ENABLED;
descriptor: Ljdk/internal/org/objectweb/asm/Type;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.Type TYPE_EVENT_HANDLER;
descriptor: Ljdk/internal/org/objectweb/asm/Type;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.Type TYPE_SETTING_CONTROL;
descriptor: Ljdk/internal/org/objectweb/asm/Type;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.Type TYPE_OBJECT;
descriptor: Ljdk/internal/org/objectweb/asm/Type;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_COMMIT;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_BEGIN;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_END;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_IS_ENABLED;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_TIME_STAMP;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_EVENT_SHOULD_COMMIT;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_EVENT_HANDLER_SHOULD_COMMIT;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.org.objectweb.asm.commons.Method METHOD_DURATION;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final jdk.internal.org.objectweb.asm.tree.ClassNode classNode;
descriptor: Ljdk/internal/org/objectweb/asm/tree/ClassNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<jdk.jfr.internal.EventInstrumentation$SettingInfo> settingInfos;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$SettingInfo;>;
private final java.util.List<jdk.jfr.internal.EventInstrumentation$FieldInfo> fieldInfos;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$FieldInfo;>;
private final jdk.internal.org.objectweb.asm.commons.Method writeMethod;
descriptor: Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String eventHandlerXInternalName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String eventName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean untypedEventHandler;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean guardHandlerReference;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Class<?> superClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: ldc Ljdk/jfr/Name;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
putstatic jdk.jfr.internal.EventInstrumentation.ANNOTATION_TYPE_NAME:Ljdk/internal/org/objectweb/asm/Type;
1: ldc Ljdk/jfr/Registered;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
putstatic jdk.jfr.internal.EventInstrumentation.ANNOTATION_TYPE_REGISTERED:Ljdk/internal/org/objectweb/asm/Type;
2: ldc Ljdk/jfr/Enabled;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
putstatic jdk.jfr.internal.EventInstrumentation.ANNOTATION_TYPE_ENABLED:Ljdk/internal/org/objectweb/asm/Type;
3: ldc Ljdk/jfr/internal/handlers/EventHandler;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
putstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
4: ldc Ljdk/jfr/SettingControl;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
putstatic jdk.jfr.internal.EventInstrumentation.TYPE_SETTING_CONTROL:Ljdk/internal/org/objectweb/asm/Type;
5: ldc Ljava/lang/Object;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
putstatic jdk.jfr.internal.EventInstrumentation.TYPE_OBJECT:Ljdk/internal/org/objectweb/asm/Type;
6: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "commit"
getstatic jdk.internal.org.objectweb.asm.Type.VOID_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_0
anewarray jdk.internal.org.objectweb.asm.Type
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
7: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "begin"
getstatic jdk.internal.org.objectweb.asm.Type.VOID_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_0
anewarray jdk.internal.org.objectweb.asm.Type
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_BEGIN:Ljdk/internal/org/objectweb/asm/commons/Method;
8: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "end"
getstatic jdk.internal.org.objectweb.asm.Type.VOID_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_0
anewarray jdk.internal.org.objectweb.asm.Type
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_END:Ljdk/internal/org/objectweb/asm/commons/Method;
9: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "isEnabled"
getstatic jdk.internal.org.objectweb.asm.Type.BOOLEAN_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_0
anewarray jdk.internal.org.objectweb.asm.Type
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_IS_ENABLED:Ljdk/internal/org/objectweb/asm/commons/Method;
10: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "timestamp"
getstatic jdk.internal.org.objectweb.asm.Type.LONG_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_0
anewarray jdk.internal.org.objectweb.asm.Type
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_TIME_STAMP:Ljdk/internal/org/objectweb/asm/commons/Method;
11: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "shouldCommit"
getstatic jdk.internal.org.objectweb.asm.Type.BOOLEAN_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_0
anewarray jdk.internal.org.objectweb.asm.Type
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_EVENT_SHOULD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
12: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "shouldCommit"
getstatic jdk.internal.org.objectweb.asm.Type.BOOLEAN_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_1
anewarray jdk.internal.org.objectweb.asm.Type
dup
iconst_0
getstatic jdk.internal.org.objectweb.asm.Type.LONG_TYPE:Ljdk/internal/org/objectweb/asm/Type;
aastore
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_EVENT_HANDLER_SHOULD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
13: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "duration"
getstatic jdk.internal.org.objectweb.asm.Type.LONG_TYPE:Ljdk/internal/org/objectweb/asm/Type;
iconst_1
anewarray jdk.internal.org.objectweb.asm.Type
dup
iconst_0
getstatic jdk.internal.org.objectweb.asm.Type.LONG_TYPE:Ljdk/internal/org/objectweb/asm/Type;
aastore
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljdk/internal/org/objectweb/asm/Type;[Ljdk/internal/org/objectweb/asm/Type;)V
putstatic jdk.jfr.internal.EventInstrumentation.METHOD_DURATION:Ljdk/internal/org/objectweb/asm/commons/Method;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Class<?>, byte[], );
descriptor: (Ljava/lang/Class;[BJ)V
flags: (0x0000)
Code:
stack=4, locals=6, 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 1
putfield jdk.jfr.internal.EventInstrumentation.superClass:Ljava/lang/Class;
2: aload 0
aload 0
aload 2
invokevirtual jdk.jfr.internal.EventInstrumentation.createClassNode:([B)Ljdk/internal/org/objectweb/asm/tree/ClassNode;
putfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
3: aload 0
aload 1
aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
invokestatic jdk.jfr.internal.EventInstrumentation.buildSettingInfos:(Ljava/lang/Class;Ljdk/internal/org/objectweb/asm/tree/ClassNode;)Ljava/util/List;
putfield jdk.jfr.internal.EventInstrumentation.settingInfos:Ljava/util/List;
4: aload 0
aload 1
aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
invokestatic jdk.jfr.internal.EventInstrumentation.buildFieldInfos:(Ljava/lang/Class;Ljdk/internal/org/objectweb/asm/tree/ClassNode;)Ljava/util/List;
putfield jdk.jfr.internal.EventInstrumentation.fieldInfos:Ljava/util/List;
5: aload 0
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.hasUntypedHandler:()Z
putfield jdk.jfr.internal.EventInstrumentation.untypedEventHandler:Z
6: aload 0
aload 0
getfield jdk.jfr.internal.EventInstrumentation.fieldInfos:Ljava/util/List;
invokestatic jdk.jfr.internal.EventInstrumentation.makeWriteMethod:(Ljava/util/List;)Ljdk/internal/org/objectweb/asm/commons/Method;
putfield jdk.jfr.internal.EventInstrumentation.writeMethod:Ljdk/internal/org/objectweb/asm/commons/Method;
7: aload 0
lload 3
invokestatic jdk.jfr.internal.EventHandlerCreator.makeEventHandlerName:(J)Ljava/lang/String;
invokestatic jdk.jfr.internal.ASMToolkit.getInternalName:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.EventInstrumentation.eventHandlerXInternalName:Ljava/lang/String;
8: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getstatic jdk.jfr.internal.EventInstrumentation.ANNOTATION_TYPE_NAME:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
ldc Ljava/lang/String;
invokestatic jdk.jfr.internal.EventInstrumentation.annotationValue:(Ljdk/internal/org/objectweb/asm/tree/ClassNode;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 9: aload 0
aload 5
ifnonnull 10
aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.name:Ljava/lang/String;
ldc "/"
ldc "."
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
goto 11
StackMap locals: jdk.jfr.internal.EventInstrumentation java.lang.Class byte[] long java.lang.String
StackMap stack: jdk.jfr.internal.EventInstrumentation
10: aload 5
StackMap locals: jdk.jfr.internal.EventInstrumentation java.lang.Class byte[] long java.lang.String
StackMap stack: jdk.jfr.internal.EventInstrumentation java.lang.String
11: putfield jdk.jfr.internal.EventInstrumentation.eventName:Ljava/lang/String;
12: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/EventInstrumentation;
0 13 1 superClass Ljava/lang/Class<*>;
0 13 2 bytes [B
0 13 3 id J
9 13 5 n Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;[BJ)V
MethodParameters:
Name Flags
superClass
bytes
id
private boolean hasUntypedHandler();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: jdk.jfr.internal.EventInstrumentation top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.objectweb.asm.tree.FieldNode
astore 1
start local 1 2: ldc "eventHandler"
aload 1
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 1
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.desc:Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_OBJECT:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: new java.lang.InternalError
dup
ldc "Class missing handler field"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/EventInstrumentation;
2 4 1 field Ljdk/internal/org/objectweb/asm/tree/FieldNode;
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.name:Ljava/lang/String;
ldc "/"
ldc "."
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/EventInstrumentation;
private jdk.internal.org.objectweb.asm.tree.ClassNode createClassNode(byte[]);
descriptor: ([B)Ljdk/internal/org/objectweb/asm/tree/ClassNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new jdk.internal.org.objectweb.asm.tree.ClassNode
dup
invokespecial jdk.internal.org.objectweb.asm.tree.ClassNode.<init>:()V
astore 2
start local 2 1: new jdk.internal.org.objectweb.asm.ClassReader
dup
aload 1
invokespecial jdk.internal.org.objectweb.asm.ClassReader.<init>:([B)V
astore 3
start local 3 2: aload 3
aload 2
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.ClassReader.accept:(Ljdk/internal/org/objectweb/asm/ClassVisitor;I)V
3: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/EventInstrumentation;
0 4 1 bytes [B
1 4 2 classNode Ljdk/internal/org/objectweb/asm/tree/ClassNode;
2 4 3 classReader Ljdk/internal/org/objectweb/asm/ClassReader;
MethodParameters:
Name Flags
bytes
boolean isRegistered();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getstatic jdk.jfr.internal.EventInstrumentation.ANNOTATION_TYPE_REGISTERED:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
ldc Ljava/lang/Boolean;
invokestatic jdk.jfr.internal.EventInstrumentation.annotationValue:(Ljdk/internal/org/objectweb/asm/tree/ClassNode;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
3: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
getfield jdk.jfr.internal.EventInstrumentation.superClass:Ljava/lang/Class;
ifnull 7
4: aload 0
getfield jdk.jfr.internal.EventInstrumentation.superClass:Ljava/lang/Class;
ldc Ljdk/jfr/Registered;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast jdk.jfr.Registered
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
invokeinterface jdk.jfr.Registered.value:()Z
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/EventInstrumentation;
1 8 1 result Ljava/lang/Boolean;
5 7 2 r Ljdk/jfr/Registered;
boolean isEnabled();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getstatic jdk.jfr.internal.EventInstrumentation.ANNOTATION_TYPE_ENABLED:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
ldc Ljava/lang/Boolean;
invokestatic jdk.jfr.internal.EventInstrumentation.annotationValue:(Ljdk/internal/org/objectweb/asm/tree/ClassNode;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
3: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
getfield jdk.jfr.internal.EventInstrumentation.superClass:Ljava/lang/Class;
ifnull 7
4: aload 0
getfield jdk.jfr.internal.EventInstrumentation.superClass:Ljava/lang/Class;
ldc Ljdk/jfr/Enabled;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast jdk.jfr.Enabled
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
invokeinterface jdk.jfr.Enabled.value:()Z
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/EventInstrumentation;
1 8 1 result Ljava/lang/Boolean;
5 7 2 e Ljdk/jfr/Enabled;
private static <T> T annotationValue(jdk.internal.org.objectweb.asm.tree.ClassNode, java.lang.String, java.lang.Class<?>);
descriptor: (Ljdk/internal/org/objectweb/asm/tree/ClassNode;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.visibleAnnotations:Ljava/util/List;
ifnull 14
1: aload 0
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.visibleAnnotations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: jdk.internal.org.objectweb.asm.tree.ClassNode java.lang.String java.lang.Class top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.objectweb.asm.tree.AnnotationNode
astore 3
start local 3 3: aload 1
aload 3
getfield jdk.internal.org.objectweb.asm.tree.AnnotationNode.desc:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
4: aload 3
getfield jdk.internal.org.objectweb.asm.tree.AnnotationNode.values:Ljava/util/List;
astore 5
start local 5 5: aload 5
ifnull 13
aload 5
invokeinterface java.util.List.size:()I
iconst_2
if_icmpne 13
6: aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 6
start local 6 7: aload 5
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 7
start local 7 8: aload 6
instanceof java.lang.String
ifeq 13
aload 7
ifnull 13
9: aload 2
aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpne 13
10: aload 6
checkcast java.lang.String
astore 8
start local 8 11: ldc "value"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
12: aload 7
areturn
end local 8 end local 7 end local 6 end local 5 end local 3 13: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
14: StackMap locals: jdk.internal.org.objectweb.asm.tree.ClassNode java.lang.String java.lang.Class
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 classNode Ljdk/internal/org/objectweb/asm/tree/ClassNode;
0 15 1 typeDescriptor Ljava/lang/String;
0 15 2 type Ljava/lang/Class<*>;
3 13 3 a Ljdk/internal/org/objectweb/asm/tree/AnnotationNode;
5 13 5 values Ljava/util/List<Ljava/lang/Object;>;
7 13 6 key Ljava/lang/Object;
8 13 7 value Ljava/lang/Object;
11 13 8 keyName Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljdk/internal/org/objectweb/asm/tree/ClassNode;Ljava/lang/String;Ljava/lang/Class<*>;)TT;
MethodParameters:
Name Flags
classNode
typeDescriptor
type
private static java.util.List<jdk.jfr.internal.EventInstrumentation$SettingInfo> buildSettingInfos(java.lang.Class<?>, jdk.internal.org.objectweb.asm.tree.ClassNode);
descriptor: (Ljava/lang/Class;Ljdk/internal/org/objectweb/asm/tree/ClassNode;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=15, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: ldc Ljdk/jfr/SettingDefinition;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
astore 4
start local 4 3: aload 1
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.methods:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 23
StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.String top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.objectweb.asm.tree.MethodNode
astore 5
start local 5 5: aload 5
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.visibleAnnotations:Ljava/util/List;
ifnull 23
6: aload 5
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.visibleAnnotations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 22
StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.String jdk.internal.org.objectweb.asm.tree.MethodNode java.util.Iterator top java.util.Iterator
StackMap stack:
7: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.objectweb.asm.tree.AnnotationNode
astore 7
start local 7 8: aload 4
aload 7
getfield jdk.internal.org.objectweb.asm.tree.AnnotationNode.desc:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
9: aload 5
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.desc:Ljava/lang/String;
invokestatic jdk.internal.org.objectweb.asm.Type.getReturnType:(Ljava/lang/String;)Ljdk/internal/org/objectweb/asm/Type;
astore 9
start local 9 10: aload 9
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.equals:(Ljava/lang/Object;)Z
ifeq 22
11: aload 5
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.desc:Ljava/lang/String;
invokestatic jdk.internal.org.objectweb.asm.Type.getArgumentTypes:(Ljava/lang/String;)[Ljdk/internal/org/objectweb/asm/Type;
astore 10
start local 10 12: aload 10
arraylength
iconst_1
if_icmpne 22
13: aload 10
iconst_0
aaload
astore 11
start local 11 14: new java.lang.StringBuilder
dup
ldc "setting"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
start local 12 15: aload 3
invokeinterface java.util.List.size:()I
istore 13
start local 13 16: new jdk.jfr.internal.EventInstrumentation$SettingInfo
dup
aload 12
iload 13
invokespecial jdk.jfr.internal.EventInstrumentation$SettingInfo.<init>:(Ljava/lang/String;I)V
astore 14
start local 14 17: aload 14
aload 5
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.name:Ljava/lang/String;
putfield jdk.jfr.internal.EventInstrumentation$SettingInfo.methodName:Ljava/lang/String;
18: aload 14
aload 11
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
putfield jdk.jfr.internal.EventInstrumentation$SettingInfo.settingDescriptor:Ljava/lang/String;
19: aload 14
aload 11
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
putfield jdk.jfr.internal.EventInstrumentation$SettingInfo.internalSettingName:Ljava/lang/String;
20: aload 2
aload 5
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.name:Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: aload 3
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 7 22: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 5 23: StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
24: aload 0
astore 5
start local 5 25: goto 45
26: StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.String java.lang.Class
StackMap stack:
aload 5
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 43
StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.String java.lang.Class top int int java.lang.reflect.Method[]
StackMap stack:
27: aload 9
iload 7
aaload
astore 6
start local 6 28: aload 2
aload 6
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 42
29: aload 6
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifne 42
30: aload 6
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 42
31: aload 6
invokevirtual java.lang.reflect.Method.getParameterCount:()I
iconst_1
if_icmpne 42
32: aload 6
invokevirtual java.lang.reflect.Method.getParameters:()[Ljava/lang/reflect/Parameter;
iconst_0
aaload
astore 10
start local 10 33: aload 10
invokevirtual java.lang.reflect.Parameter.getType:()Ljava/lang/Class;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
astore 11
start local 11 34: new java.lang.StringBuilder
dup
ldc "setting"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
start local 12 35: aload 3
invokeinterface java.util.List.size:()I
istore 13
start local 13 36: new jdk.jfr.internal.EventInstrumentation$SettingInfo
dup
aload 12
iload 13
invokespecial jdk.jfr.internal.EventInstrumentation$SettingInfo.<init>:(Ljava/lang/String;I)V
astore 14
start local 14 37: aload 14
aload 6
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
putfield jdk.jfr.internal.EventInstrumentation$SettingInfo.methodName:Ljava/lang/String;
38: aload 14
aload 11
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
putfield jdk.jfr.internal.EventInstrumentation$SettingInfo.settingDescriptor:Ljava/lang/String;
39: aload 14
aload 11
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
putfield jdk.jfr.internal.EventInstrumentation$SettingInfo.internalSettingName:Ljava/lang/String;
40: aload 2
aload 6
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
41: aload 3
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 14 end local 13 end local 12 end local 11 end local 10 end local 6 42: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
43: iload 7
iload 8
if_icmplt 27
44: aload 5
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 5
StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.String java.lang.Class
StackMap stack:
45: aload 5
ldc Ljdk/internal/event/Event;
if_acmpne 26
end local 5 46: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 superClass Ljava/lang/Class<*>;
0 47 1 classNode Ljdk/internal/org/objectweb/asm/tree/ClassNode;
1 47 2 methodSet Ljava/util/Set<Ljava/lang/String;>;
2 47 3 settingInfos Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$SettingInfo;>;
3 47 4 settingDescriptor Ljava/lang/String;
5 23 5 m Ljdk/internal/org/objectweb/asm/tree/MethodNode;
8 22 7 an Ljdk/internal/org/objectweb/asm/tree/AnnotationNode;
10 22 9 returnType Ljdk/internal/org/objectweb/asm/Type;
12 22 10 args [Ljdk/internal/org/objectweb/asm/Type;
14 22 11 paramType Ljdk/internal/org/objectweb/asm/Type;
15 22 12 fieldName Ljava/lang/String;
16 22 13 index I
17 22 14 si Ljdk/jfr/internal/EventInstrumentation$SettingInfo;
25 46 5 c Ljava/lang/Class<*>;
28 42 6 method Ljava/lang/reflect/Method;
33 42 10 param Ljava/lang/reflect/Parameter;
34 42 11 paramType Ljdk/internal/org/objectweb/asm/Type;
35 42 12 fieldName Ljava/lang/String;
36 42 13 index I
37 42 14 si Ljdk/jfr/internal/EventInstrumentation$SettingInfo;
Signature: (Ljava/lang/Class<*>;Ljdk/internal/org/objectweb/asm/tree/ClassNode;)Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$SettingInfo;>;
MethodParameters:
Name Flags
superClass
classNode
private static java.util.List<jdk.jfr.internal.EventInstrumentation$FieldInfo> buildFieldInfos(java.lang.Class<?>, jdk.internal.org.objectweb.asm.tree.ClassNode);
descriptor: (Ljava/lang/Class;Ljdk/internal/org/objectweb/asm/tree/ClassNode;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=12, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: new java.util.ArrayList
dup
aload 1
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.fields:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 2: aload 3
new jdk.jfr.internal.EventInstrumentation$FieldInfo
dup
ldc "startTime"
getstatic jdk.internal.org.objectweb.asm.Type.LONG_TYPE:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
aload 1
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.name:Ljava/lang/String;
invokespecial jdk.jfr.internal.EventInstrumentation$FieldInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 3
new jdk.jfr.internal.EventInstrumentation$FieldInfo
dup
ldc "duration"
getstatic jdk.internal.org.objectweb.asm.Type.LONG_TYPE:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
aload 1
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.name:Ljava/lang/String;
invokespecial jdk.jfr.internal.EventInstrumentation$FieldInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 1
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.objectweb.asm.tree.FieldNode
astore 4
start local 4 6: aload 2
aload 4
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.name:Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 10
aload 4
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.access:I
aload 4
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.desc:Ljava/lang/String;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/String;)Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getClassName:()Ljava/lang/String;
invokestatic jdk.jfr.internal.EventInstrumentation.isValidField:(ILjava/lang/String;)Z
ifeq 10
7: new jdk.jfr.internal.EventInstrumentation$FieldInfo
dup
aload 4
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.name:Ljava/lang/String;
aload 4
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.desc:Ljava/lang/String;
aload 1
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.name:Ljava/lang/String;
invokespecial jdk.jfr.internal.EventInstrumentation$FieldInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 6
start local 6 8: aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 2
aload 4
getfield jdk.internal.org.objectweb.asm.tree.FieldNode.name:Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
11: aload 0
astore 4
start local 4 12: goto 26
13: StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.Class
StackMap stack:
aload 4
invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 24
StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.Class top int int java.lang.reflect.Field[]
StackMap stack:
14: aload 8
iload 6
aaload
astore 5
start local 5 15: aload 5
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
ifne 23
16: aload 5
invokevirtual java.lang.reflect.Field.getModifiers:()I
aload 5
invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic jdk.jfr.internal.EventInstrumentation.isValidField:(ILjava/lang/String;)Z
ifeq 23
17: aload 5
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
astore 9
start local 9 18: aload 2
aload 9
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 23
19: aload 5
invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
invokestatic jdk.internal.org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Ljdk/internal/org/objectweb/asm/Type;
astore 10
start local 10 20: aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic jdk.jfr.internal.ASMToolkit.getInternalName:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 21: aload 3
new jdk.jfr.internal.EventInstrumentation$FieldInfo
dup
aload 9
aload 10
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
aload 11
invokespecial jdk.jfr.internal.EventInstrumentation$FieldInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 2
aload 9
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 10 end local 9 end local 5 23: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
24: iload 6
iload 7
if_icmplt 14
25: aload 4
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 4
StackMap locals: java.lang.Class jdk.internal.org.objectweb.asm.tree.ClassNode java.util.Set java.util.List java.lang.Class
StackMap stack:
26: aload 4
ldc Ljdk/internal/event/Event;
if_acmpne 13
end local 4 27: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 superClass Ljava/lang/Class<*>;
0 28 1 classNode Ljdk/internal/org/objectweb/asm/tree/ClassNode;
1 28 2 fieldSet Ljava/util/Set<Ljava/lang/String;>;
2 28 3 fieldInfos Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$FieldInfo;>;
6 10 4 field Ljdk/internal/org/objectweb/asm/tree/FieldNode;
8 10 6 fi Ljdk/jfr/internal/EventInstrumentation$FieldInfo;
12 27 4 c Ljava/lang/Class<*>;
15 23 5 field Ljava/lang/reflect/Field;
18 23 9 fieldName Ljava/lang/String;
20 23 10 fieldType Ljdk/internal/org/objectweb/asm/Type;
21 23 11 internalClassName Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljdk/internal/org/objectweb/asm/tree/ClassNode;)Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$FieldInfo;>;
MethodParameters:
Name Flags
superClass
classNode
public static boolean isValidField(int, java.lang.String);
descriptor: (ILjava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 0
invokestatic java.lang.reflect.Modifier.isTransient:(I)Z
ifne 1
iload 0
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.jfr.internal.Type.isValidJavaFieldType:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 access I
0 3 1 className Ljava/lang/String;
MethodParameters:
Name Flags
access
className
public byte[] buildInstrumented();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.makeInstrumented:()V
1: aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.toByteArray:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/EventInstrumentation;
private byte[] toByteArray();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: new jdk.internal.org.objectweb.asm.ClassWriter
dup
iconst_2
invokespecial jdk.internal.org.objectweb.asm.ClassWriter.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.tree.ClassNode.accept:(Ljdk/internal/org/objectweb/asm/ClassVisitor;)V
2: aload 1
invokevirtual jdk.internal.org.objectweb.asm.ClassWriter.visitEnd:()V
3: aload 1
invokevirtual jdk.internal.org.objectweb.asm.ClassWriter.toByteArray:()[B
astore 2
start local 2 4: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.name:Ljava/lang/String;
aload 2
invokestatic jdk.jfr.internal.Utils.writeGeneratedASM:(Ljava/lang/String;[B)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/EventInstrumentation;
1 6 1 cw Ljdk/internal/org/objectweb/asm/ClassWriter;
4 6 2 result [B
public byte[] buildUninstrumented();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.makeUninstrumented:()V
1: aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.toByteArray:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/EventInstrumentation;
private void makeInstrumented();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_IS_ENABLED:Ljdk/internal/org/objectweb/asm/commons/Method;
aload 0
invokedynamic accept(Ljdk/jfr/internal/EventInstrumentation;)Ljava/util/function/Consumer;
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;)V
jdk/jfr/internal/EventInstrumentation.lambda$0(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V (7)
(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
invokevirtual jdk.jfr.internal.EventInstrumentation.updateMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
1: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_BEGIN:Ljdk/internal/org/objectweb/asm/commons/Method;
aload 0
invokedynamic accept(Ljdk/jfr/internal/EventInstrumentation;)Ljava/util/function/Consumer;
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;)V
jdk/jfr/internal/EventInstrumentation.lambda$1(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V (7)
(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
invokevirtual jdk.jfr.internal.EventInstrumentation.updateMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
2: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_END:Ljdk/internal/org/objectweb/asm/commons/Method;
aload 0
invokedynamic accept(Ljdk/jfr/internal/EventInstrumentation;)Ljava/util/function/Consumer;
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;)V
jdk/jfr/internal/EventInstrumentation.lambda$2(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V (7)
(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
invokevirtual jdk.jfr.internal.EventInstrumentation.updateMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
3: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
aload 0
invokedynamic accept(Ljdk/jfr/internal/EventInstrumentation;)Ljava/util/function/Consumer;
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;)V
jdk/jfr/internal/EventInstrumentation.lambda$3(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V (7)
(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
invokevirtual jdk.jfr.internal.EventInstrumentation.updateMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
4: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_EVENT_SHOULD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
aload 0
invokedynamic accept(Ljdk/jfr/internal/EventInstrumentation;)Ljava/util/function/Consumer;
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;)V
jdk/jfr/internal/EventInstrumentation.lambda$4(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V (7)
(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
invokevirtual jdk.jfr.internal.EventInstrumentation.updateMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/EventInstrumentation;
private void getEventHandler(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.untypedEventHandler:Z
ifeq 4
1: aload 1
sipush 178
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "eventHandler"
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_OBJECT:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: aload 1
sipush 192
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitTypeInsn:(ILjava/lang/String;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
sipush 178
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "eventHandler"
ldc Ljdk/jfr/internal/handlers/EventHandler;
invokestatic jdk.internal.org.objectweb.asm.Type.getDescriptor:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/EventInstrumentation;
0 6 1 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
MethodParameters:
Name Flags
methodVisitor
private void makeUninstrumented();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_EVENT_SHOULD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.jfr.internal.EventInstrumentation.updateExistingWithReturnFalse:(Ljdk/internal/org/objectweb/asm/commons/Method;)V
1: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_IS_ENABLED:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.jfr.internal.EventInstrumentation.updateExistingWithReturnFalse:(Ljdk/internal/org/objectweb/asm/commons/Method;)V
2: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.jfr.internal.EventInstrumentation.updateExistingWithEmptyVoidMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;)V
3: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_BEGIN:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.jfr.internal.EventInstrumentation.updateExistingWithEmptyVoidMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;)V
4: aload 0
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_END:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.jfr.internal.EventInstrumentation.updateExistingWithEmptyVoidMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/EventInstrumentation;
private final void updateExistingWithEmptyVoidMethod(jdk.internal.org.objectweb.asm.commons.Method);
descriptor: (Ljdk/internal/org/objectweb/asm/commons/Method;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
jdk/jfr/internal/EventInstrumentation.lambda$5(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V (6)
(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
invokevirtual jdk.jfr.internal.EventInstrumentation.updateMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/EventInstrumentation;
0 2 1 voidMethod Ljdk/internal/org/objectweb/asm/commons/Method;
MethodParameters:
Name Flags
voidMethod
private final void updateExistingWithReturnFalse(jdk.internal.org.objectweb.asm.commons.Method);
descriptor: (Ljdk/internal/org/objectweb/asm/commons/Method;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
jdk/jfr/internal/EventInstrumentation.lambda$6(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V (6)
(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
invokevirtual jdk.jfr.internal.EventInstrumentation.updateMethod:(Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/EventInstrumentation;
0 2 1 voidMethod Ljdk/internal/org/objectweb/asm/commons/Method;
MethodParameters:
Name Flags
voidMethod
private jdk.internal.org.objectweb.asm.tree.MethodNode getMethodNode(jdk.internal.org.objectweb.asm.commons.Method);
descriptor: (Ljdk/internal/org/objectweb/asm/commons/Method;)Ljdk/internal/org/objectweb/asm/tree/MethodNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.methods:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.jfr.internal.EventInstrumentation jdk.internal.org.objectweb.asm.commons.Method top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.org.objectweb.asm.tree.MethodNode
astore 2
start local 2 2: aload 2
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.name:Ljava/lang/String;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 2
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.desc:Ljava/lang/String;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getDescriptor:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/EventInstrumentation;
0 6 1 method Ljdk/internal/org/objectweb/asm/commons/Method;
2 4 2 m Ljdk/internal/org/objectweb/asm/tree/MethodNode;
MethodParameters:
Name Flags
method
private final void updateMethod(jdk.internal.org.objectweb.asm.commons.Method, java.util.function.Consumer<jdk.internal.org.objectweb.asm.MethodVisitor>);
descriptor: (Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.jfr.internal.EventInstrumentation.getMethodNode:(Ljdk/internal/org/objectweb/asm/commons/Method;)Ljdk/internal/org/objectweb/asm/tree/MethodNode;
astore 3
start local 3 1: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.methods:Ljava/util/List;
aload 3
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 4
start local 4 2: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.methods:Ljava/util/List;
aload 3
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
aload 3
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.access:I
aload 3
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.name:Ljava/lang/String;
aload 3
getfield jdk.internal.org.objectweb.asm.tree.MethodNode.desc:Ljava/lang/String;
aconst_null
aconst_null
invokevirtual jdk.internal.org.objectweb.asm.tree.ClassNode.visitMethod:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljdk/internal/org/objectweb/asm/MethodVisitor;
astore 5
start local 5 4: aload 5
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitCode:()V
5: aload 2
aload 5
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
6: aload 5
iconst_0
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMaxs:(II)V
7: aload 0
aload 1
invokevirtual jdk.jfr.internal.EventInstrumentation.getMethodNode:(Ljdk/internal/org/objectweb/asm/commons/Method;)Ljdk/internal/org/objectweb/asm/tree/MethodNode;
astore 6
start local 6 8: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.methods:Ljava/util/List;
aload 6
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
9: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.methods:Ljava/util/List;
iload 4
aload 6
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
10: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jfr/internal/EventInstrumentation;
0 11 1 method Ljdk/internal/org/objectweb/asm/commons/Method;
0 11 2 code Ljava/util/function/Consumer<Ljdk/internal/org/objectweb/asm/MethodVisitor;>;
1 11 3 old Ljdk/internal/org/objectweb/asm/tree/MethodNode;
2 11 4 index I
4 11 5 mv Ljdk/internal/org/objectweb/asm/MethodVisitor;
8 11 6 newMethod Ljdk/internal/org/objectweb/asm/tree/MethodNode;
Signature: (Ljdk/internal/org/objectweb/asm/commons/Method;Ljava/util/function/Consumer<Ljdk/internal/org/objectweb/asm/MethodVisitor;>;)V
MethodParameters:
Name Flags
method
code
public static jdk.internal.org.objectweb.asm.commons.Method makeWriteMethod(java.util.List<jdk.jfr.internal.EventInstrumentation$FieldInfo>);
descriptor: (Ljava/util/List;)Ljdk/internal/org/objectweb/asm/commons/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.EventInstrumentation$FieldInfo
astore 2
start local 2 4: aload 1
aload 2
getfield jdk.jfr.internal.EventInstrumentation$FieldInfo.fieldDescriptor:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
ldc ")V"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: new jdk.internal.org.objectweb.asm.commons.Method
dup
ldc "write"
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.internal.org.objectweb.asm.commons.Method.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 fields Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$FieldInfo;>;
1 8 1 sb Ljava/lang/StringBuilder;
4 5 2 v Ljdk/jfr/internal/EventInstrumentation$FieldInfo;
Signature: (Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$FieldInfo;>;)Ljdk/internal/org/objectweb/asm/commons/Method;
MethodParameters:
Name Flags
fields
private java.lang.String getInternalClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.classNode:Ljdk/internal/org/objectweb/asm/tree/ClassNode;
getfield jdk.internal.org.objectweb.asm.tree.ClassNode.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/EventInstrumentation;
public java.util.List<jdk.jfr.internal.EventInstrumentation$SettingInfo> getSettingInfos();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.settingInfos:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/EventInstrumentation;
Signature: ()Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$SettingInfo;>;
public java.util.List<jdk.jfr.internal.EventInstrumentation$FieldInfo> getFieldInfos();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.fieldInfos:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/EventInstrumentation;
Signature: ()Ljava/util/List<Ljdk/jfr/internal/EventInstrumentation$FieldInfo;>;
public java.lang.String getEventName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.EventInstrumentation.eventName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/EventInstrumentation;
public void setGuardHandler(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.EventInstrumentation.guardHandlerReference:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/EventInstrumentation;
0 2 1 guardHandlerReference Z
MethodParameters:
Name Flags
guardHandlerReference
private void lambda$0(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new jdk.internal.org.objectweb.asm.Label
dup
invokespecial jdk.internal.org.objectweb.asm.Label.<init>:()V
astore 2
start local 2 1: aload 0
getfield jdk.jfr.internal.EventInstrumentation.guardHandlerReference:Z
ifeq 4
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.EventInstrumentation.getEventHandler:(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
3: aload 1
sipush 198
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
4: StackMap locals: jdk.internal.org.objectweb.asm.Label
StackMap stack:
aload 0
aload 1
invokevirtual jdk.jfr.internal.EventInstrumentation.getEventHandler:(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
5: aload 1
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_IS_ENABLED:Ljdk/internal/org/objectweb/asm/commons/Method;
invokestatic jdk.jfr.internal.ASMToolkit.invokeVirtual:(Ljdk/internal/org/objectweb/asm/MethodVisitor;Ljava/lang/String;Ljdk/internal/org/objectweb/asm/commons/Method;)V
6: aload 1
sipush 172
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
7: aload 0
getfield jdk.jfr.internal.EventInstrumentation.guardHandlerReference:Z
ifeq 12
8: aload 1
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitLabel:(Ljdk/internal/org/objectweb/asm/Label;)V
9: aload 1
iconst_3
iconst_0
aconst_null
iconst_0
aconst_null
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFrame:(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
10: aload 1
iconst_3
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
11: aload 1
sipush 172
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/EventInstrumentation;
0 13 1 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
1 12 2 nullLabel Ljdk/internal/org/objectweb/asm/Label;
private void lambda$1(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitIntInsn:(II)V
1: aload 1
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_TIME_STAMP:Ljdk/internal/org/objectweb/asm/commons/Method;
invokestatic jdk.jfr.internal.ASMToolkit.invokeStatic:(Ljdk/internal/org/objectweb/asm/MethodVisitor;Ljava/lang/String;Ljdk/internal/org/objectweb/asm/commons/Method;)V
2: aload 1
sipush 181
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "startTime"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
sipush 177
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/EventInstrumentation;
0 5 1 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
private void lambda$2(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitIntInsn:(II)V
1: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitIntInsn:(II)V
2: aload 1
sipush 180
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "startTime"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_DURATION:Ljdk/internal/org/objectweb/asm/commons/Method;
invokestatic jdk.jfr.internal.ASMToolkit.invokeStatic:(Ljdk/internal/org/objectweb/asm/MethodVisitor;Ljava/lang/String;Ljdk/internal/org/objectweb/asm/commons/Method;)V
4: aload 1
sipush 181
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "duration"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: aload 1
sipush 177
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
6: aload 1
iconst_0
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMaxs:(II)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/EventInstrumentation;
0 8 1 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
private void lambda$3(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitCode:()V
1: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
2: aload 1
sipush 182
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_IS_ENABLED:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_IS_ENABLED:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getDescriptor:()Ljava/lang/String;
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
3: new jdk.internal.org.objectweb.asm.Label
dup
invokespecial jdk.internal.org.objectweb.asm.Label.<init>:()V
astore 2
start local 2 4: aload 1
sipush 154
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
5: aload 1
sipush 177
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
6: aload 1
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitLabel:(Ljdk/internal/org/objectweb/asm/Label;)V
7: aload 1
iconst_3
iconst_0
aconst_null
iconst_0
aconst_null
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFrame:(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
8: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
9: aload 1
sipush 180
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "startTime"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
10: aload 1
bipush 9
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
11: aload 1
sipush 148
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
12: new jdk.internal.org.objectweb.asm.Label
dup
invokespecial jdk.internal.org.objectweb.asm.Label.<init>:()V
astore 3
start local 3 13: aload 1
sipush 154
aload 3
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
14: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
15: aload 1
sipush 184
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_TIME_STAMP:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_TIME_STAMP:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getDescriptor:()Ljava/lang/String;
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
16: aload 1
sipush 181
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "startTime"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
17: new jdk.internal.org.objectweb.asm.Label
dup
invokespecial jdk.internal.org.objectweb.asm.Label.<init>:()V
astore 4
start local 4 18: aload 1
sipush 167
aload 4
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
19: aload 1
aload 3
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitLabel:(Ljdk/internal/org/objectweb/asm/Label;)V
20: aload 1
iconst_3
iconst_0
aconst_null
iconst_0
aconst_null
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFrame:(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
21: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
22: aload 1
sipush 180
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "duration"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
23: aload 1
bipush 9
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
24: aload 1
sipush 148
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
25: aload 1
sipush 154
aload 4
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
26: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
27: aload 1
sipush 184
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_TIME_STAMP:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_TIME_STAMP:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getDescriptor:()Ljava/lang/String;
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
28: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
29: aload 1
sipush 180
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "startTime"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
30: aload 1
bipush 101
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
31: aload 1
sipush 181
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "duration"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
32: aload 1
aload 4
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitLabel:(Ljdk/internal/org/objectweb/asm/Label;)V
33: aload 1
iconst_3
iconst_0
aconst_null
iconst_0
aconst_null
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFrame:(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
34: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
35: aload 1
sipush 182
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_EVENT_SHOULD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_EVENT_SHOULD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getDescriptor:()Ljava/lang/String;
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
36: new jdk.internal.org.objectweb.asm.Label
dup
invokespecial jdk.internal.org.objectweb.asm.Label.<init>:()V
astore 5
start local 5 37: aload 1
sipush 153
aload 5
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
38: aload 0
aload 1
invokevirtual jdk.jfr.internal.EventInstrumentation.getEventHandler:(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
39: aload 1
sipush 192
aload 0
getfield jdk.jfr.internal.EventInstrumentation.eventHandlerXInternalName:Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitTypeInsn:(ILjava/lang/String;)V
40: aload 0
getfield jdk.jfr.internal.EventInstrumentation.fieldInfos:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 44
StackMap locals: jdk.jfr.internal.EventInstrumentation jdk.internal.org.objectweb.asm.MethodVisitor jdk.internal.org.objectweb.asm.Label jdk.internal.org.objectweb.asm.Label jdk.internal.org.objectweb.asm.Label jdk.internal.org.objectweb.asm.Label top java.util.Iterator
StackMap stack:
41: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.EventInstrumentation$FieldInfo
astore 6
start local 6 42: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
43: aload 1
sipush 180
aload 6
getfield jdk.jfr.internal.EventInstrumentation$FieldInfo.internalClassName:Ljava/lang/String;
aload 6
getfield jdk.jfr.internal.EventInstrumentation$FieldInfo.fieldName:Ljava/lang/String;
aload 6
getfield jdk.jfr.internal.EventInstrumentation$FieldInfo.fieldDescriptor:Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 6 44: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 41
45: aload 1
sipush 182
aload 0
getfield jdk.jfr.internal.EventInstrumentation.eventHandlerXInternalName:Ljava/lang/String;
aload 0
getfield jdk.jfr.internal.EventInstrumentation.writeMethod:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getName:()Ljava/lang/String;
aload 0
getfield jdk.jfr.internal.EventInstrumentation.writeMethod:Ljdk/internal/org/objectweb/asm/commons/Method;
invokevirtual jdk.internal.org.objectweb.asm.commons.Method.getDescriptor:()Ljava/lang/String;
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
46: aload 1
aload 5
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitLabel:(Ljdk/internal/org/objectweb/asm/Label;)V
47: aload 1
iconst_3
iconst_0
aconst_null
iconst_0
aconst_null
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFrame:(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
48: aload 1
sipush 177
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
49: aload 1
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitEnd:()V
end local 5 end local 4 end local 3 end local 2 50: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Ljdk/jfr/internal/EventInstrumentation;
0 51 1 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
4 50 2 l0 Ljdk/internal/org/objectweb/asm/Label;
13 50 3 durationalEvent Ljdk/internal/org/objectweb/asm/Label;
18 50 4 commit Ljdk/internal/org/objectweb/asm/Label;
37 50 5 end Ljdk/internal/org/objectweb/asm/Label;
42 44 6 fi Ljdk/jfr/internal/EventInstrumentation$FieldInfo;
private void lambda$4(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: new jdk.internal.org.objectweb.asm.Label
dup
invokespecial jdk.internal.org.objectweb.asm.Label.<init>:()V
astore 2
start local 2 1: aload 0
getfield jdk.jfr.internal.EventInstrumentation.guardHandlerReference:Z
ifeq 4
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.EventInstrumentation.getEventHandler:(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
3: aload 1
sipush 198
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
4: StackMap locals: jdk.internal.org.objectweb.asm.Label
StackMap stack:
aload 0
aload 1
invokevirtual jdk.jfr.internal.EventInstrumentation.getEventHandler:(Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
5: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
6: aload 1
sipush 180
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "duration"
ldc "J"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7: aload 1
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_EVENT_HANDLER:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getInternalName:()Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.METHOD_EVENT_HANDLER_SHOULD_COMMIT:Ljdk/internal/org/objectweb/asm/commons/Method;
invokestatic jdk.jfr.internal.ASMToolkit.invokeVirtual:(Ljdk/internal/org/objectweb/asm/MethodVisitor;Ljava/lang/String;Ljdk/internal/org/objectweb/asm/commons/Method;)V
8: aload 1
sipush 153
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
9: aload 0
getfield jdk.jfr.internal.EventInstrumentation.settingInfos:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 21
StackMap locals: jdk.jfr.internal.EventInstrumentation jdk.internal.org.objectweb.asm.MethodVisitor jdk.internal.org.objectweb.asm.Label top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.EventInstrumentation$SettingInfo
astore 3
start local 3 11: aload 1
bipush 25
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitIntInsn:(II)V
12: aload 0
getfield jdk.jfr.internal.EventInstrumentation.untypedEventHandler:Z
ifeq 15
13: aload 1
sipush 178
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "eventHandler"
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_OBJECT:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
14: goto 16
15: StackMap locals: jdk.jfr.internal.EventInstrumentation jdk.internal.org.objectweb.asm.MethodVisitor jdk.internal.org.objectweb.asm.Label jdk.jfr.internal.EventInstrumentation$SettingInfo java.util.Iterator
StackMap stack:
aload 1
sipush 178
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
ldc "eventHandler"
ldc Ljdk/jfr/internal/handlers/EventHandler;
invokestatic jdk.internal.org.objectweb.asm.Type.getDescriptor:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 1
sipush 192
aload 0
getfield jdk.jfr.internal.EventInstrumentation.eventHandlerXInternalName:Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitTypeInsn:(ILjava/lang/String;)V
17: aload 1
sipush 180
aload 0
getfield jdk.jfr.internal.EventInstrumentation.eventHandlerXInternalName:Ljava/lang/String;
aload 3
getfield jdk.jfr.internal.EventInstrumentation$SettingInfo.fieldName:Ljava/lang/String;
getstatic jdk.jfr.internal.EventInstrumentation.TYPE_SETTING_CONTROL:Ljdk/internal/org/objectweb/asm/Type;
invokevirtual jdk.internal.org.objectweb.asm.Type.getDescriptor:()Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitFieldInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
18: aload 1
sipush 192
aload 3
getfield jdk.jfr.internal.EventInstrumentation$SettingInfo.internalSettingName:Ljava/lang/String;
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitTypeInsn:(ILjava/lang/String;)V
19: aload 1
sipush 182
aload 0
invokevirtual jdk.jfr.internal.EventInstrumentation.getInternalClassName:()Ljava/lang/String;
aload 3
getfield jdk.jfr.internal.EventInstrumentation$SettingInfo.methodName:Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
getfield jdk.jfr.internal.EventInstrumentation$SettingInfo.settingDescriptor:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")Z"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
20: aload 1
sipush 153
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitJumpInsn:(ILjdk/internal/org/objectweb/asm/Label;)V
end local 3 21: StackMap locals: jdk.jfr.internal.EventInstrumentation jdk.internal.org.objectweb.asm.MethodVisitor jdk.internal.org.objectweb.asm.Label top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
22: aload 1
iconst_4
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
23: aload 1
sipush 172
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
24: aload 1
aload 2
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitLabel:(Ljdk/internal/org/objectweb/asm/Label;)V
25: aload 1
iconst_3
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
26: aload 1
sipush 172
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
end local 2 27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/jfr/internal/EventInstrumentation;
0 28 1 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
1 27 2 fail Ljdk/internal/org/objectweb/asm/Label;
11 21 3 si Ljdk/jfr/internal/EventInstrumentation$SettingInfo;
private static void lambda$5(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 177
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
private static void lambda$6(jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_3
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
1: aload 0
sipush 172
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 methodVisitor Ljdk/internal/org/objectweb/asm/MethodVisitor;
}
SourceFile: "EventInstrumentation.java"
NestMembers:
jdk.jfr.internal.EventInstrumentation$FieldInfo jdk.jfr.internal.EventInstrumentation$SettingInfo
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final FieldInfo = jdk.jfr.internal.EventInstrumentation$FieldInfo of jdk.jfr.internal.EventInstrumentation
final SettingInfo = jdk.jfr.internal.EventInstrumentation$SettingInfo of jdk.jfr.internal.EventInstrumentation