public abstract class jdk.jfr.internal.consumer.ObjectFactory<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jfr.internal.consumer.ObjectFactory
super_class: java.lang.Object
{
private static final jdk.jfr.internal.consumer.JdkJfrConsumer PRIVATE_ACCESS;
descriptor: Ljdk/jfr/internal/consumer/JdkJfrConsumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String TYPE_PREFIX_VERSION_1;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.oracle.jfr.types."
private static final java.lang.String TYPE_PREFIX_VERSION_2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.types."
public static final java.lang.String STACK_FRAME_VERSION_1;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.oracle.jfr.types.StackFrame"
public static final java.lang.String STACK_FRAME_VERSION_2;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.types.StackFrame"
private final jdk.jfr.internal.consumer.ObjectContext objectContext;
descriptor: Ljdk/jfr/internal/consumer/ObjectContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.jfr.internal.consumer.JdkJfrConsumer.instance:()Ljdk/jfr/internal/consumer/JdkJfrConsumer;
putstatic jdk.jfr.internal.consumer.ObjectFactory.PRIVATE_ACCESS:Ljdk/jfr/internal/consumer/JdkJfrConsumer;
1: return
LocalVariableTable:
Start End Slot Name Signature
static jdk.jfr.internal.consumer.ObjectFactory<?> create(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 12
-1521454505: 1
-1508525521: 2
-1461342917: 3
-1279061901: 4
-1189480395: 5
-1176551411: 6
-530663260: 7
-295970237: 8
1132361561: 9
1212802142: 10
1405292581: 11
1501967697: 12
default: 20
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "jdk.types.StackFrame"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 20
StackMap locals:
StackMap stack:
2: aload 2
ldc "jdk.types.StackTrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
goto 20
StackMap locals:
StackMap stack:
3: aload 2
ldc "com.oracle.jfr.types.ClassLoader"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 20
StackMap locals:
StackMap stack:
4: aload 2
ldc "jdk.types.Method"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 20
StackMap locals:
StackMap stack:
5: aload 2
ldc "com.oracle.jfr.types.StackFrame"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 20
StackMap locals:
StackMap stack:
6: aload 2
ldc "com.oracle.jfr.types.StackTrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
goto 20
StackMap locals:
StackMap stack:
7: aload 2
ldc "java.lang.Class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
goto 20
StackMap locals:
StackMap stack:
8: aload 2
ldc "jdk.types.ThreadGroup"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 20
StackMap locals:
StackMap stack:
9: aload 2
ldc "jdk.types.ClassLoader"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 20
StackMap locals:
StackMap stack:
10: aload 2
ldc "java.lang.Thread"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
goto 20
StackMap locals:
StackMap stack:
11: aload 2
ldc "com.oracle.jfr.types.ThreadGroup"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 20
StackMap locals:
StackMap stack:
12: aload 2
ldc "com.oracle.jfr.types.Method"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 20
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.consumer.ObjectFactory.createThreadFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
areturn
14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.consumer.ObjectFactory.createFrameFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
areturn
15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.consumer.ObjectFactory.createMethodFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
areturn
16: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.consumer.ObjectFactory.createdThreadGroupFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
areturn
17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.consumer.ObjectFactory.createStackTraceFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
areturn
18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.consumer.ObjectFactory.createClassLoaderFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
areturn
19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.consumer.ObjectFactory.createClassFactory:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
areturn
20: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 type Ljdk/jfr/internal/Type;
0 21 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<*>;
MethodParameters:
Name Flags
type
timeConverter
private static jdk.jfr.internal.consumer.ObjectFactory<jdk.jfr.consumer.RecordedClass> createClassFactory(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jfr.internal.consumer.ObjectFactory$1
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.consumer.ObjectFactory$1.<init>:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/jfr/internal/Type;
0 1 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<Ljdk/jfr/consumer/RecordedClass;>;
MethodParameters:
Name Flags
type
timeConverter
private static jdk.jfr.internal.consumer.ObjectFactory<?> createClassLoaderFactory(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jfr.internal.consumer.ObjectFactory$2
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.consumer.ObjectFactory$2.<init>:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/jfr/internal/Type;
0 1 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<*>;
MethodParameters:
Name Flags
type
timeConverter
private static jdk.jfr.internal.consumer.ObjectFactory<jdk.jfr.consumer.RecordedStackTrace> createStackTraceFactory(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jfr.internal.consumer.ObjectFactory$3
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.consumer.ObjectFactory$3.<init>:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/jfr/internal/Type;
0 1 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<Ljdk/jfr/consumer/RecordedStackTrace;>;
MethodParameters:
Name Flags
type
timeConverter
private static jdk.jfr.internal.consumer.ObjectFactory<jdk.jfr.consumer.RecordedThreadGroup> createdThreadGroupFactory(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jfr.internal.consumer.ObjectFactory$4
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.consumer.ObjectFactory$4.<init>:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/jfr/internal/Type;
0 1 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<Ljdk/jfr/consumer/RecordedThreadGroup;>;
MethodParameters:
Name Flags
type
timeConverter
private static jdk.jfr.internal.consumer.ObjectFactory<jdk.jfr.consumer.RecordedMethod> createMethodFactory(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jfr.internal.consumer.ObjectFactory$5
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.consumer.ObjectFactory$5.<init>:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/jfr/internal/Type;
0 1 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<Ljdk/jfr/consumer/RecordedMethod;>;
MethodParameters:
Name Flags
type
timeConverter
private static jdk.jfr.internal.consumer.ObjectFactory<jdk.jfr.consumer.RecordedFrame> createFrameFactory(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jfr.internal.consumer.ObjectFactory$6
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.consumer.ObjectFactory$6.<init>:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/jfr/internal/Type;
0 1 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<Ljdk/jfr/consumer/RecordedFrame;>;
MethodParameters:
Name Flags
type
timeConverter
private static jdk.jfr.internal.consumer.ObjectFactory<jdk.jfr.consumer.RecordedThread> createThreadFactory(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jfr.internal.consumer.ObjectFactory$7
dup
aload 0
aload 1
invokespecial jdk.jfr.internal.consumer.ObjectFactory$7.<init>:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/jfr/internal/Type;
0 1 1 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
Signature: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory<Ljdk/jfr/consumer/RecordedThread;>;
MethodParameters:
Name Flags
type
timeConverter
private void <init>(jdk.jfr.internal.Type, jdk.jfr.internal.consumer.TimeConverter);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.jfr.internal.consumer.ObjectContext
dup
aconst_null
aload 1
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
aload 2
invokespecial jdk.jfr.internal.consumer.ObjectContext.<init>:(Ljdk/jfr/EventType;Ljava/util/List;Ljdk/jfr/internal/consumer/TimeConverter;)V
putfield jdk.jfr.internal.consumer.ObjectFactory.objectContext:Ljdk/jfr/internal/consumer/ObjectContext;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/consumer/ObjectFactory<TT;>;
0 3 1 type Ljdk/jfr/internal/Type;
0 3 2 timeConverter Ljdk/jfr/internal/consumer/TimeConverter;
MethodParameters:
Name Flags
type
timeConverter
T createObject(long, );
descriptor: (JLjava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 3
instanceof java.lang.Object[]
ifeq 4
3: aload 0
aload 0
getfield jdk.jfr.internal.consumer.ObjectFactory.objectContext:Ljdk/jfr/internal/consumer/ObjectContext;
lload 1
aload 3
checkcast java.lang.Object[]
invokevirtual jdk.jfr.internal.consumer.ObjectFactory.createTyped:(Ljdk/jfr/internal/consumer/ObjectContext;J[Ljava/lang/Object;)Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Object factory must have struct type. Type was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/consumer/ObjectFactory<TT;>;
0 5 1 id J
0 5 3 value Ljava/lang/Object;
Signature: (JLjava/lang/Object;)TT;
MethodParameters:
Name Flags
id
value
abstract T createTyped(jdk.jfr.internal.consumer.ObjectContext, long, []);
descriptor: (Ljdk/jfr/internal/consumer/ObjectContext;J[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0400) ACC_ABSTRACT
Signature: (Ljdk/jfr/internal/consumer/ObjectContext;J[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
objectContextm
id
values
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ObjectFactory.java"
NestMembers:
jdk.jfr.internal.consumer.ObjectFactory$1 jdk.jfr.internal.consumer.ObjectFactory$2 jdk.jfr.internal.consumer.ObjectFactory$3 jdk.jfr.internal.consumer.ObjectFactory$4 jdk.jfr.internal.consumer.ObjectFactory$5 jdk.jfr.internal.consumer.ObjectFactory$6 jdk.jfr.internal.consumer.ObjectFactory$7
InnerClasses:
jdk.jfr.internal.consumer.ObjectFactory$1
jdk.jfr.internal.consumer.ObjectFactory$2
jdk.jfr.internal.consumer.ObjectFactory$3
jdk.jfr.internal.consumer.ObjectFactory$4
jdk.jfr.internal.consumer.ObjectFactory$5
jdk.jfr.internal.consumer.ObjectFactory$6
jdk.jfr.internal.consumer.ObjectFactory$7