public class com.sun.org.apache.xml.internal.utils.ObjectPool implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.utils.ObjectPool
super_class: java.lang.Object
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -8519013691660936643
private final java.lang.Class<?> objectType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final java.util.List<java.lang.Object> freeStack;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Object;>;
public void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.objectType:Ljava/lang/Class;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/utils/ObjectPool;
0 4 1 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
type
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
iconst_1
invokestatic com.sun.org.apache.xalan.internal.utils.ObjectFactory.findProviderClass:(Ljava/lang/String;Z)Ljava/lang/Class;
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.objectType:Ljava/lang/Class;
2: goto 5
3: StackMap locals: com.sun.org.apache.xml.internal.utils.ObjectPool java.lang.String
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 4: new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xml/internal/utils/ObjectPool;
0 7 1 className Ljava/lang/String;
4 5 2 cnfe Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
1 2 3 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
public void <init>(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
aload 1
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.objectType:Ljava/lang/Class;
2: aload 0
new java.util.ArrayList
dup
iload 2
invokespecial java.util.ArrayList.<init>:(I)V
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/utils/ObjectPool;
0 4 1 type Ljava/lang/Class<*>;
0 4 2 size I
Signature: (Ljava/lang/Class<*>;I)V
MethodParameters:
Name Flags
type
size
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.objectType:Ljava/lang/Class;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/utils/ObjectPool;
public synchronized java.lang.Object getInstanceIfFree();
descriptor: ()Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 3
1: aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
astore 1
start local 1 2: aload 1
areturn
end local 1 3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/utils/ObjectPool;
2 3 1 result Ljava/lang/Object;
public synchronized java.lang.Object getInstance();
descriptor: ()Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
1: aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.objectType:Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.Exception
pop
4: new java.lang.RuntimeException
dup
5: ldc "ER_EXCEPTION_CREATING_POOL"
aconst_null
6: invokestatic com.sun.org.apache.xml.internal.res.XMLMessages.createXMLMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
astore 1
start local 1 8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/utils/ObjectPool;
8 9 1 result Ljava/lang/Object;
Exception table:
from to target type
1 2 3 Class java.lang.InstantiationException
1 2 3 Class java.lang.IllegalAccessException
1 2 3 Class java.lang.SecurityException
1 2 3 Class java.lang.IllegalArgumentException
1 2 3 Class java.lang.reflect.InvocationTargetException
1 2 3 Class java.lang.NoSuchMethodException
public synchronized void freeInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.utils.ObjectPool.freeStack:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/utils/ObjectPool;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
}
SourceFile: "ObjectPool.java"