public abstract class com.sun.tracing.ProviderFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tracing.ProviderFactory
super_class: java.lang.Object
{
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tracing/ProviderFactory;
public abstract <T extends com.sun.tracing.Provider> T createProvider(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lcom/sun/tracing/Provider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <T::Lcom/sun/tracing/Provider;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
cls
public static com.sun.tracing.ProviderFactory getDefaultFactory();
descriptor: ()Lcom/sun/tracing/ProviderFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 0
start local 0 1: new sun.security.action.GetPropertyAction
dup
ldc "com.sun.tracing.dtrace"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 1
ifnull 4
aload 1
ldc "disable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
4: StackMap locals: java.util.HashSet java.lang.String
StackMap stack:
invokestatic sun.tracing.dtrace.DTraceProviderFactory.isSupported:()Z
ifeq 6
5: aload 0
new sun.tracing.dtrace.DTraceProviderFactory
dup
invokespecial sun.tracing.dtrace.DTraceProviderFactory.<init>:()V
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
new sun.security.action.GetPropertyAction
dup
ldc "sun.tracing.stream"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
7: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
8: aload 1
ifnull 16
9: aload 1
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 15
StackMap locals: java.util.HashSet java.lang.String top int int java.lang.String[]
StackMap stack:
10: aload 5
iload 3
aaload
astore 2
start local 2 11: aload 2
invokestatic com.sun.tracing.ProviderFactory.getPrintStreamFromSpec:(Ljava/lang/String;)Ljava/io/PrintStream;
astore 6
start local 6 12: aload 6
ifnull 14
13: aload 0
new sun.tracing.PrintStreamProviderFactory
dup
aload 6
invokespecial sun.tracing.PrintStreamProviderFactory.<init>:(Ljava/io/PrintStream;)V
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 2 14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 4
if_icmplt 10
16: StackMap locals: java.util.HashSet java.lang.String
StackMap stack:
aload 0
invokevirtual java.util.HashSet.size:()I
ifne 18
17: new sun.tracing.NullProviderFactory
dup
invokespecial sun.tracing.NullProviderFactory.<init>:()V
areturn
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.HashSet.size:()I
iconst_1
if_icmpne 20
19: aload 0
iconst_1
anewarray com.sun.tracing.ProviderFactory
invokevirtual java.util.HashSet.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.tracing.ProviderFactory[]
iconst_0
aaload
areturn
20: StackMap locals:
StackMap stack:
new sun.tracing.MultiplexProviderFactory
dup
aload 0
invokespecial sun.tracing.MultiplexProviderFactory.<init>:(Ljava/util/Set;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 21 0 factories Ljava/util/HashSet<Lcom/sun/tracing/ProviderFactory;>;
3 21 1 prop Ljava/lang/String;
11 14 2 spec Ljava/lang/String;
12 14 6 ps Ljava/io/PrintStream;
private static java.io.PrintStream getPrintStreamFromSpec(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/PrintStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 2: new com.sun.tracing.ProviderFactory$1
dup
aload 2
aload 0
iload 1
invokespecial com.sun.tracing.ProviderFactory$1.<init>:(Ljava/lang/Class;Ljava/lang/String;I)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Field
astore 3
start local 3 3: aload 3
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.PrintStream
4: areturn
end local 3 end local 2 end local 1 5: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 1
start local 1 6: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 7: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 1
start local 1 8: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 9: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 10: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 spec Ljava/lang/String;
1 5 1 fieldpos I
2 5 2 cls Ljava/lang/Class<*>;
3 5 3 f Ljava/lang/reflect/Field;
6 7 1 e Ljava/lang/ClassNotFoundException;
8 9 1 e Ljava/lang/IllegalAccessException;
10 11 1 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 4 5 Class java.lang.ClassNotFoundException
0 4 7 Class java.lang.IllegalAccessException
0 4 9 Class java.security.PrivilegedActionException
MethodParameters:
Name Flags
spec final
}
SourceFile: "ProviderFactory.java"
NestMembers:
com.sun.tracing.ProviderFactory$1
InnerClasses:
com.sun.tracing.ProviderFactory$1