public class org.apache.commons.pool2.impl.GenericObjectPool<T> extends org.apache.commons.pool2.impl.BaseGenericObjectPool<T> implements org.apache.commons.pool2.ObjectPool<T>, org.apache.commons.pool2.impl.GenericObjectPoolMXBean, org.apache.commons.pool2.UsageTracking<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.pool2.impl.GenericObjectPool
super_class: org.apache.commons.pool2.impl.BaseGenericObjectPool
{
private volatile java.lang.String factoryType;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int maxIdle;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int minIdle;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final org.apache.commons.pool2.PooledObjectFactory<T> factory;
descriptor: Lorg/apache/commons/pool2/PooledObjectFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;
private final java.util.Map<org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper<T>, org.apache.commons.pool2.PooledObject<T>> allObjects;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$IdentityWrapper<TT;>;Lorg/apache/commons/pool2/PooledObject<TT;>;>;
private final java.util.concurrent.atomic.AtomicLong createCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long makeObjectCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object makeObjectCountLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.commons.pool2.impl.LinkedBlockingDeque<org.apache.commons.pool2.PooledObject<T>> idleObjects;
descriptor: Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/commons/pool2/impl/LinkedBlockingDeque<Lorg/apache/commons/pool2/PooledObject<TT;>;>;
private static final java.lang.String ONAME_BASE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "org.apache.commons.pool2:type=GenericObjectPool,name="
private volatile org.apache.commons.pool2.impl.AbandonedConfig abandonedConfig;
descriptor: Lorg/apache/commons/pool2/impl/AbandonedConfig;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(org.apache.commons.pool2.PooledObjectFactory<T>);
descriptor: (Lorg/apache/commons/pool2/PooledObjectFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new org.apache.commons.pool2.impl.GenericObjectPoolConfig
dup
invokespecial org.apache.commons.pool2.impl.GenericObjectPoolConfig.<init>:()V
invokespecial org.apache.commons.pool2.impl.GenericObjectPool.<init>:(Lorg/apache/commons/pool2/PooledObjectFactory;Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 2 1 factory Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;
Signature: (Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;)V
MethodParameters:
Name Flags
factory final
public void <init>(org.apache.commons.pool2.PooledObjectFactory<T>, org.apache.commons.pool2.impl.GenericObjectPoolConfig<T>);
descriptor: (Lorg/apache/commons/pool2/PooledObjectFactory;Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "org.apache.commons.pool2:type=GenericObjectPool,name="
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.getJmxNamePrefix:()Ljava/lang/String;
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool.<init>:(Lorg/apache/commons/pool2/impl/BaseObjectPoolConfig;Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aconst_null
putfield org.apache.commons.pool2.impl.GenericObjectPool.factoryType:Ljava/lang/String;
2: aload 0
bipush 8
putfield org.apache.commons.pool2.impl.GenericObjectPool.maxIdle:I
3: aload 0
iconst_0
putfield org.apache.commons.pool2.impl.GenericObjectPool.minIdle:I
4: aload 0
5: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
6: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
7: aload 0
lconst_0
putfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
8: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
9: aload 0
aconst_null
putfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
10: aload 1
ifnonnull 13
11: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.jmxUnregister:()V
12: new java.lang.IllegalArgumentException
dup
ldc "factory may not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool org.apache.commons.pool2.PooledObjectFactory org.apache.commons.pool2.impl.GenericObjectPoolConfig
StackMap stack:
aload 0
aload 1
putfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
14: aload 0
new org.apache.commons.pool2.impl.LinkedBlockingDeque
dup
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.getFairness:()Z
invokespecial org.apache.commons.pool2.impl.LinkedBlockingDeque.<init>:(Z)V
putfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
15: aload 0
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.setConfig:(Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 17 1 factory Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;
0 17 2 config Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig<TT;>;
Signature: (Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig<TT;>;)V
MethodParameters:
Name Flags
factory final
config final
public void <init>(org.apache.commons.pool2.PooledObjectFactory<T>, org.apache.commons.pool2.impl.GenericObjectPoolConfig<T>, org.apache.commons.pool2.impl.AbandonedConfig);
descriptor: (Lorg/apache/commons/pool2/PooledObjectFactory;Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;Lorg/apache/commons/pool2/impl/AbandonedConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.apache.commons.pool2.impl.GenericObjectPool.<init>:(Lorg/apache/commons/pool2/PooledObjectFactory;Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;)V
1: aload 0
aload 3
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.setAbandonedConfig:(Lorg/apache/commons/pool2/impl/AbandonedConfig;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 3 1 factory Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;
0 3 2 config Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig<TT;>;
0 3 3 abandonedConfig Lorg/apache/commons/pool2/impl/AbandonedConfig;
Signature: (Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig<TT;>;Lorg/apache/commons/pool2/impl/AbandonedConfig;)V
MethodParameters:
Name Flags
factory final
config final
abandonedConfig final
public int getMaxIdle();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.maxIdle:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
public void setMaxIdle(int);
descriptor: (I)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 org.apache.commons.pool2.impl.GenericObjectPool.maxIdle:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 2 1 maxIdle I
MethodParameters:
Name Flags
maxIdle final
public void setMinIdle(int);
descriptor: (I)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 org.apache.commons.pool2.impl.GenericObjectPool.minIdle:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 2 1 minIdle I
MethodParameters:
Name Flags
minIdle final
public int getMinIdle();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMaxIdle:()I
istore 1
start local 1 1: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.minIdle:I
iload 1
if_icmple 3
2: iload 1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.minIdle:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 4 1 maxIdleSave I
public boolean isAbandonedConfig();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
public boolean getLogAbandoned();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getLogAbandoned:()Z
ifeq 2
iconst_1
ireturn
StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 3 1 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
public boolean getRemoveAbandonedOnBorrow();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedOnBorrow:()Z
ifeq 2
iconst_1
ireturn
StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 3 1 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
public boolean getRemoveAbandonedOnMaintenance();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedOnMaintenance:()Z
ifeq 2
iconst_1
ireturn
StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 3 1 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
public int getRemoveAbandonedTimeout();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedTimeout:()I
goto 3
StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
2: ldc 2147483647
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 4 1 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
public void setConfig(org.apache.commons.pool2.impl.GenericObjectPoolConfig<T>);
descriptor: (Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool.setConfig:(Lorg/apache/commons/pool2/impl/BaseObjectPoolConfig;)V
1: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.getMaxIdle:()I
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.setMaxIdle:(I)V
2: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.getMinIdle:()I
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.setMinIdle:(I)V
3: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.getMaxTotal:()I
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.setMaxTotal:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 5 1 conf Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig<TT;>;
Signature: (Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig<TT;>;)V
MethodParameters:
Name Flags
conf final
public void setAbandonedConfig(org.apache.commons.pool2.impl.AbandonedConfig);
descriptor: (Lorg/apache/commons/pool2/impl/AbandonedConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
aconst_null
putfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
2: goto 11
3: StackMap locals:
StackMap stack:
aload 0
new org.apache.commons.pool2.impl.AbandonedConfig
dup
invokespecial org.apache.commons.pool2.impl.AbandonedConfig.<init>:()V
putfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
4: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getLogAbandoned:()Z
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.setLogAbandoned:(Z)V
5: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.setLogWriter:(Ljava/io/PrintWriter;)V
6: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedOnBorrow:()Z
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.setRemoveAbandonedOnBorrow:(Z)V
7: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedOnMaintenance:()Z
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.setRemoveAbandonedOnMaintenance:(Z)V
8: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedTimeout:()I
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.setRemoveAbandonedTimeout:(I)V
9: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getUseUsageTracking:()Z
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.setUseUsageTracking:(Z)V
10: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRequireFullStackTrace:()Z
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.setRequireFullStackTrace:(Z)V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 12 1 abandonedConfig Lorg/apache/commons/pool2/impl/AbandonedConfig;
MethodParameters:
Name Flags
abandonedConfig final
public org.apache.commons.pool2.PooledObjectFactory<T> getFactory();
descriptor: ()Lorg/apache/commons/pool2/PooledObjectFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
Signature: ()Lorg/apache/commons/pool2/PooledObjectFactory<TT;>;
public T borrowObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMaxWaitMillis:()J
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.borrowObject:(J)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
Exceptions:
throws java.lang.Exception
Signature: ()TT;
public T borrowObject();
descriptor: (J)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.assertOpen:()V
1: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 3
start local 3 2: aload 3
ifnull 6
aload 3
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedOnBorrow:()Z
ifeq 6
3: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getNumIdle:()I
iconst_2
if_icmpge 6
4: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getNumActive:()I
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMaxTotal:()I
iconst_3
isub
if_icmple 6
5: aload 0
aload 3
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.removeAbandoned:(Lorg/apache/commons/pool2/impl/AbandonedConfig;)V
6: StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
aconst_null
astore 4
start local 4 7: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getBlockWhenExhausted:()Z
istore 5
start local 5 8: invokestatic java.lang.System.currentTimeMillis:()J
lstore 7
start local 7 9: goto 66
10: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool long org.apache.commons.pool2.impl.AbandonedConfig org.apache.commons.pool2.PooledObject int top long
StackMap stack:
iconst_0
istore 6
start local 6 11: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.pollFirst:()Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 4
12: aload 4
ifnonnull 16
13: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.create:()Lorg/apache/commons/pool2/PooledObject;
astore 4
14: aload 4
ifnull 16
15: iconst_1
istore 6
16: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool long org.apache.commons.pool2.impl.AbandonedConfig org.apache.commons.pool2.PooledObject int int long
StackMap stack:
iload 5
ifeq 28
17: aload 4
ifnonnull 24
18: lload 1
lconst_0
lcmp
ifge 21
19: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.takeFirst:()Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 4
20: goto 24
21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
lload 1
22: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
23: invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.pollFirst:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 4
24: StackMap locals:
StackMap stack:
aload 4
ifnonnull 30
25: new java.util.NoSuchElementException
dup
26: ldc "Timeout waiting for idle object"
27: invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 4
ifnonnull 30
29: new java.util.NoSuchElementException
dup
ldc "Pool exhausted"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.commons.pool2.PooledObject.allocate:()Z
ifne 32
31: aconst_null
astore 4
32: StackMap locals:
StackMap stack:
aload 4
ifnull 66
33: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 4
invokeinterface org.apache.commons.pool2.PooledObjectFactory.activateObject:(Lorg/apache/commons/pool2/PooledObject;)V
34: goto 46
StackMap locals:
StackMap stack: java.lang.Exception
35: astore 9
start local 9 36: aload 0
aload 4
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
37: goto 39
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool long org.apache.commons.pool2.impl.AbandonedConfig org.apache.commons.pool2.PooledObject int int long java.lang.Exception
StackMap stack: java.lang.Exception
38: pop
39: StackMap locals:
StackMap stack:
aconst_null
astore 4
40: iload 6
ifeq 46
41: new java.util.NoSuchElementException
dup
42: ldc "Unable to activate object"
43: invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
astore 10
start local 10 44: aload 10
aload 9
invokevirtual java.util.NoSuchElementException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
45: aload 10
athrow
end local 10 end local 9 46: StackMap locals:
StackMap stack:
aload 4
ifnull 66
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getTestOnBorrow:()Z
ifeq 66
47: iconst_0
istore 9
start local 9 48: aconst_null
astore 10
start local 10 49: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 4
invokeinterface org.apache.commons.pool2.PooledObjectFactory.validateObject:(Lorg/apache/commons/pool2/PooledObject;)Z
istore 9
50: goto 54
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool long org.apache.commons.pool2.impl.AbandonedConfig org.apache.commons.pool2.PooledObject int int long int java.lang.Throwable
StackMap stack: java.lang.Throwable
51: astore 11
start local 11 52: aload 11
invokestatic org.apache.commons.pool2.PoolUtils.checkRethrow:(Ljava/lang/Throwable;)V
53: aload 11
astore 10
end local 11 54: StackMap locals:
StackMap stack:
iload 9
ifne 66
55: aload 0
aload 4
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
56: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.destroyedByBorrowValidationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
57: goto 59
StackMap locals:
StackMap stack: java.lang.Exception
58: pop
59: StackMap locals:
StackMap stack:
aconst_null
astore 4
60: iload 6
ifeq 66
61: new java.util.NoSuchElementException
dup
62: ldc "Unable to validate object"
63: invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
astore 11
start local 11 64: aload 11
aload 10
invokevirtual java.util.NoSuchElementException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
65: aload 11
athrow
end local 11 end local 10 end local 9 end local 6 66: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool long org.apache.commons.pool2.impl.AbandonedConfig org.apache.commons.pool2.PooledObject int top long
StackMap stack:
aload 4
ifnull 10
67: aload 0
aload 4
invokestatic java.lang.System.currentTimeMillis:()J
lload 7
lsub
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.updateStatsBorrow:(Lorg/apache/commons/pool2/PooledObject;J)V
68: aload 4
invokeinterface org.apache.commons.pool2.PooledObject.getObject:()Ljava/lang/Object;
areturn
end local 7 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 69 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 69 1 borrowMaxWaitMillis J
2 69 3 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
7 69 4 p Lorg/apache/commons/pool2/PooledObject<TT;>;
8 69 5 blockWhenExhausted Z
11 66 6 create Z
9 69 7 waitTime J
36 46 9 e Ljava/lang/Exception;
44 46 10 nsee Ljava/util/NoSuchElementException;
48 66 9 validate Z
49 66 10 validationThrowable Ljava/lang/Throwable;
52 54 11 t Ljava/lang/Throwable;
64 66 11 nsee Ljava/util/NoSuchElementException;
Exception table:
from to target type
33 34 35 Class java.lang.Exception
36 37 38 Class java.lang.Exception
49 50 51 Class java.lang.Throwable
55 57 58 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
Signature: (J)TT;
MethodParameters:
Name Flags
borrowMaxWaitMillis final
public void returnObject();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
new org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper
dup
aload 1
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 2
start local 2 1: aload 2
ifnonnull 7
2: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isAbandonedConfig:()Z
ifne 6
3: new java.lang.IllegalStateException
dup
4: ldc "Returned object not currently part of this pool"
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.apache.commons.pool2.PooledObject
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.markReturningState:(Lorg/apache/commons/pool2/PooledObject;)V
8: aload 2
invokeinterface org.apache.commons.pool2.PooledObject.getActiveTimeMillis:()J
lstore 3
start local 3 9: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getTestOnReturn:()Z
ifeq 20
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 2
invokeinterface org.apache.commons.pool2.PooledObjectFactory.validateObject:(Lorg/apache/commons/pool2/PooledObject;)Z
ifne 20
10: aload 0
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
11: goto 14
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool java.lang.Object org.apache.commons.pool2.PooledObject long
StackMap stack: java.lang.Exception
12: astore 5
start local 5 13: aload 0
aload 5
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
end local 5 14: StackMap locals:
StackMap stack:
aload 0
iconst_1
iconst_0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.ensureIdle:(IZ)V
15: goto 18
StackMap locals:
StackMap stack: java.lang.Exception
16: astore 5
start local 5 17: aload 0
aload 5
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
end local 5 18: StackMap locals:
StackMap stack:
aload 0
lload 3
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.updateStatsReturn:(J)V
19: return
20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 2
invokeinterface org.apache.commons.pool2.PooledObjectFactory.passivateObject:(Lorg/apache/commons/pool2/PooledObject;)V
21: goto 34
StackMap locals:
StackMap stack: java.lang.Exception
22: astore 5
start local 5 23: aload 0
aload 5
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
24: aload 0
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
25: goto 28
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool java.lang.Object org.apache.commons.pool2.PooledObject long java.lang.Exception
StackMap stack: java.lang.Exception
26: astore 6
start local 6 27: aload 0
aload 6
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
end local 6 28: StackMap locals:
StackMap stack:
aload 0
iconst_1
iconst_0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.ensureIdle:(IZ)V
29: goto 32
StackMap locals:
StackMap stack: java.lang.Exception
30: astore 6
start local 6 31: aload 0
aload 6
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
end local 6 32: StackMap locals:
StackMap stack:
aload 0
lload 3
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.updateStatsReturn:(J)V
33: return
end local 5 34: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.apache.commons.pool2.PooledObject.deallocate:()Z
ifne 38
35: new java.lang.IllegalStateException
dup
36: ldc "Object has already been returned to this pool or is invalid"
37: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMaxIdle:()I
istore 5
start local 5 39: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isClosed:()Z
ifne 40
iload 5
iconst_m1
if_icmple 45
iload 5
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
if_icmpgt 45
40: StackMap locals: int
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
41: goto 51
StackMap locals:
StackMap stack: java.lang.Exception
42: astore 6
start local 6 43: aload 0
aload 6
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
end local 6 44: goto 51
45: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getLifo:()Z
ifeq 48
46: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 2
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.addFirst:(Ljava/lang/Object;)V
47: goto 49
48: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 2
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.addLast:(Ljava/lang/Object;)V
49: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isClosed:()Z
ifeq 51
50: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.clear:()V
51: StackMap locals:
StackMap stack:
aload 0
lload 3
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.updateStatsReturn:(J)V
52: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 53 1 obj TT;
1 53 2 p Lorg/apache/commons/pool2/PooledObject<TT;>;
9 53 3 activeTime J
13 14 5 e Ljava/lang/Exception;
17 18 5 e Ljava/lang/Exception;
23 34 5 e1 Ljava/lang/Exception;
27 28 6 e Ljava/lang/Exception;
31 32 6 e Ljava/lang/Exception;
39 53 5 maxIdleSave I
43 44 6 e Ljava/lang/Exception;
Exception table:
from to target type
10 11 12 Class java.lang.Exception
14 15 16 Class java.lang.Exception
20 21 22 Class java.lang.Exception
24 25 26 Class java.lang.Exception
28 29 30 Class java.lang.Exception
40 41 42 Class java.lang.Exception
Signature: (TT;)V
MethodParameters:
Name Flags
obj final
public void invalidateObject();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
new org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper
dup
aload 1
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 2
start local 2 1: aload 2
ifnonnull 7
2: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isAbandonedConfig:()Z
ifeq 4
3: return
4: StackMap locals: org.apache.commons.pool2.PooledObject
StackMap stack:
new java.lang.IllegalStateException
dup
5: ldc "Invalidated object not currently part of this pool"
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
dup
astore 3
monitorenter
8: aload 2
invokeinterface org.apache.commons.pool2.PooledObject.getState:()Lorg/apache/commons/pool2/PooledObjectState;
getstatic org.apache.commons.pool2.PooledObjectState.INVALID:Lorg/apache/commons/pool2/PooledObjectState;
if_acmpeq 10
9: aload 0
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
10: StackMap locals: org.apache.commons.pool2.PooledObject
StackMap stack:
aload 3
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 3
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 0
iconst_1
iconst_0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.ensureIdle:(IZ)V
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 16 1 obj TT;
1 16 2 p Lorg/apache/commons/pool2/PooledObject<TT;>;
Exception table:
from to target type
8 11 12 any
12 13 12 any
Exceptions:
throws java.lang.Exception
Signature: (TT;)V
MethodParameters:
Name Flags
obj final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.poll:()Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 1
start local 1 1: goto 7
2: StackMap locals: org.apache.commons.pool2.PooledObject
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
3: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 2
start local 2 5: aload 0
aload 2
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.poll:()Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 1
7: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 9 1 p Lorg/apache/commons/pool2/PooledObject<TT;>;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
public int getNumActive();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
public int getNumIdle();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isClosed:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.closeLock:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isClosed:()Z
ifeq 6
4: aload 1
monitorexit
5: return
6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.stopEvictor:()V
7: aload 0
iconst_1
putfield org.apache.commons.pool2.impl.GenericObjectPool.closed:Z
8: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.clear:()V
9: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.jmxUnregister:()V
10: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.interuptTakeWaiters:()V
11: aload 1
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
Exception table:
from to target type
3 5 13 any
6 12 13 any
13 14 13 any
public void evict();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.assertOpen:()V
1: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
ifle 65
2: aconst_null
astore 1
start local 1 3: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getEvictionPolicy:()Lorg/apache/commons/pool2/impl/EvictionPolicy;
astore 2
start local 2 4: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.evictionLock:Ljava/lang/Object;
dup
astore 3
monitorenter
5: new org.apache.commons.pool2.impl.EvictionConfig
dup
6: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMinEvictableIdleTimeMillis:()J
7: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getSoftMinEvictableIdleTimeMillis:()J
8: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMinIdle:()I
9: invokespecial org.apache.commons.pool2.impl.EvictionConfig.<init>:(JJI)V
astore 4
start local 4 10: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getTestWhileIdle:()Z
istore 5
start local 5 11: iconst_0
istore 6
start local 6 12: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getNumTests:()I
istore 7
start local 7 13: goto 60
14: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool org.apache.commons.pool2.PooledObject org.apache.commons.pool2.impl.EvictionPolicy java.lang.Object org.apache.commons.pool2.impl.EvictionConfig int int int
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.evictionIterator:Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$EvictionIterator;
ifnull 15
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.evictionIterator:Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$EvictionIterator;
invokevirtual org.apache.commons.pool2.impl.BaseGenericObjectPool$EvictionIterator.hasNext:()Z
ifne 16
15: StackMap locals:
StackMap stack:
aload 0
new org.apache.commons.pool2.impl.BaseGenericObjectPool$EvictionIterator
dup
aload 0
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool$EvictionIterator.<init>:(Lorg/apache/commons/pool2/impl/BaseGenericObjectPool;Ljava/util/Deque;)V
putfield org.apache.commons.pool2.impl.GenericObjectPool.evictionIterator:Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$EvictionIterator;
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.evictionIterator:Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$EvictionIterator;
invokevirtual org.apache.commons.pool2.impl.BaseGenericObjectPool$EvictionIterator.hasNext:()Z
ifne 19
17: aload 3
monitorexit
18: return
19: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.evictionIterator:Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$EvictionIterator;
invokevirtual org.apache.commons.pool2.impl.BaseGenericObjectPool$EvictionIterator.next:()Lorg/apache/commons/pool2/PooledObject;
astore 1
20: goto 25
StackMap locals:
StackMap stack: java.util.NoSuchElementException
21: pop
22: iinc 6 -1
23: aload 0
aconst_null
putfield org.apache.commons.pool2.impl.GenericObjectPool.evictionIterator:Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$EvictionIterator;
24: goto 59
25: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.commons.pool2.PooledObject.startEvictionTest:()Z
ifne 28
26: iinc 6 -1
27: goto 59
28: StackMap locals:
StackMap stack:
aload 2
aload 4
aload 1
29: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
30: invokeinterface org.apache.commons.pool2.impl.EvictionPolicy.evict:(Lorg/apache/commons/pool2/impl/EvictionConfig;Lorg/apache/commons/pool2/PooledObject;I)Z
istore 8
start local 8 31: goto 36
end local 8 StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 9
start local 9 33: aload 9
invokestatic org.apache.commons.pool2.PoolUtils.checkRethrow:(Ljava/lang/Throwable;)V
34: aload 0
new java.lang.Exception
dup
aload 9
invokespecial java.lang.Exception.<init>:(Ljava/lang/Throwable;)V
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.swallowException:(Ljava/lang/Exception;)V
35: iconst_0
istore 8
end local 9 start local 8 36: StackMap locals: int
StackMap stack:
iload 8
ifeq 40
37: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
38: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.destroyedByEvictorCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
39: goto 59
40: StackMap locals:
StackMap stack:
iload 5
ifeq 58
41: iconst_0
istore 9
start local 9 42: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 1
invokeinterface org.apache.commons.pool2.PooledObjectFactory.activateObject:(Lorg/apache/commons/pool2/PooledObject;)V
43: iconst_1
istore 9
44: goto 48
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool org.apache.commons.pool2.PooledObject org.apache.commons.pool2.impl.EvictionPolicy java.lang.Object org.apache.commons.pool2.impl.EvictionConfig int int int int int
StackMap stack: java.lang.Exception
45: pop
46: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
47: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.destroyedByEvictorCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
48: StackMap locals:
StackMap stack:
iload 9
ifeq 58
49: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 1
invokeinterface org.apache.commons.pool2.PooledObjectFactory.validateObject:(Lorg/apache/commons/pool2/PooledObject;)Z
ifne 53
50: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
51: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.destroyedByEvictorCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
52: goto 58
53: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 1
invokeinterface org.apache.commons.pool2.PooledObjectFactory.passivateObject:(Lorg/apache/commons/pool2/PooledObject;)V
54: goto 58
StackMap locals:
StackMap stack: java.lang.Exception
55: pop
56: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.destroy:(Lorg/apache/commons/pool2/PooledObject;)V
57: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.destroyedByEvictorCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
end local 9 58: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokeinterface org.apache.commons.pool2.PooledObject.endEvictionTest:(Ljava/util/Deque;)Z
pop
end local 8 59: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
60: iload 6
iload 7
if_icmplt 14
end local 7 end local 6 end local 5 end local 4 61: aload 3
monitorexit
62: goto 65
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool org.apache.commons.pool2.PooledObject org.apache.commons.pool2.impl.EvictionPolicy java.lang.Object
StackMap stack: java.lang.Throwable
63: aload 3
monitorexit
64: athrow
end local 2 end local 1 65: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 1
start local 1 66: aload 1
ifnull 68
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedOnMaintenance:()Z
ifeq 68
67: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.removeAbandoned:(Lorg/apache/commons/pool2/impl/AbandonedConfig;)V
68: StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 69 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
3 65 1 underTest Lorg/apache/commons/pool2/PooledObject<TT;>;
4 65 2 evictionPolicy Lorg/apache/commons/pool2/impl/EvictionPolicy<TT;>;
10 61 4 evictionConfig Lorg/apache/commons/pool2/impl/EvictionConfig;
11 61 5 testWhileIdle Z
12 61 6 i I
13 61 7 m I
31 32 8 evict Z
36 59 8 evict Z
33 36 9 t Ljava/lang/Throwable;
42 58 9 active Z
66 69 1 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
Exception table:
from to target type
19 20 21 Class java.util.NoSuchElementException
28 31 32 Class java.lang.Throwable
42 44 45 Class java.lang.Exception
53 54 55 Class java.lang.Exception
5 18 63 any
19 62 63 any
63 64 63 any
Exceptions:
throws java.lang.Exception
public void preparePool();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMinIdle:()I
iconst_1
if_icmpge 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.ensureMinIdle:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
Exceptions:
throws java.lang.Exception
private org.apache.commons.pool2.PooledObject<T> create();
descriptor: ()Lorg/apache/commons/pool2/PooledObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMaxTotal:()I
istore 1
start local 1 1: iload 1
ifge 3
2: ldc 2147483647
istore 1
3: StackMap locals: int
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 4: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMaxWaitMillis:()J
lconst_0
invokestatic java.lang.Math.max:(JJ)J
lstore 4
start local 4 5: aconst_null
astore 6
start local 6 6: goto 26
7: StackMap locals: long long java.lang.Boolean
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
dup
astore 7
monitorenter
8: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 8
start local 8 9: lload 8
iload 1
i2l
lcmp
ifle 16
10: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
11: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
lconst_0
lcmp
ifne 14
12: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
astore 6
13: goto 18
14: StackMap locals: java.lang.Object long
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
lload 4
invokevirtual java.lang.Object.wait:(J)V
15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
lconst_1
ladd
putfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
17: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
astore 6
end local 8 18: StackMap locals:
StackMap stack:
aload 7
monitorexit
19: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
20: aload 7
monitorexit
21: athrow
22: StackMap locals:
StackMap stack:
aload 6
ifnonnull 26
23: lload 4
lconst_0
lcmp
ifle 26
24: invokestatic java.lang.System.currentTimeMillis:()J
lload 2
lsub
lload 4
lcmp
iflt 26
25: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
astore 6
26: StackMap locals:
StackMap stack:
aload 6
ifnull 7
27: aload 6
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 29
28: aconst_null
areturn
29: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
invokeinterface org.apache.commons.pool2.PooledObjectFactory.makeObject:()Lorg/apache/commons/pool2/PooledObject;
astore 7
start local 7 30: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getTestOnCreate:()Z
ifeq 52
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 7
invokeinterface org.apache.commons.pool2.PooledObjectFactory.validateObject:(Lorg/apache/commons/pool2/PooledObject;)Z
ifne 52
31: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
32: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
dup
astore 10
monitorenter
33: aload 0
dup
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
lconst_1
lsub
putfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
34: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
35: aload 10
monitorexit
36: goto 39
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool int long long java.lang.Boolean org.apache.commons.pool2.PooledObject top top java.lang.Object
StackMap stack: java.lang.Throwable
37: aload 10
monitorexit
38: athrow
39: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool int long long java.lang.Boolean org.apache.commons.pool2.PooledObject
StackMap stack:
aconst_null
areturn
end local 7 40: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool int long long java.lang.Boolean
StackMap stack: java.lang.Throwable
astore 8
start local 8 41: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
42: aload 8
athrow
end local 8 43: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
44: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
dup
astore 10
monitorenter
45: aload 0
dup
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
lconst_1
lsub
putfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
46: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
47: aload 10
monitorexit
48: goto 51
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool int long long java.lang.Boolean top top java.lang.Throwable java.lang.Object
StackMap stack: java.lang.Throwable
49: aload 10
monitorexit
50: athrow
51: StackMap locals:
StackMap stack:
aload 9
athrow
start local 7 52: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool int long long java.lang.Boolean org.apache.commons.pool2.PooledObject
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
dup
astore 10
monitorenter
53: aload 0
dup
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
lconst_1
lsub
putfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCount:J
54: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.makeObjectCountLock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
55: aload 10
monitorexit
56: goto 59
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool int long long java.lang.Boolean org.apache.commons.pool2.PooledObject top top java.lang.Object
StackMap stack: java.lang.Throwable
57: aload 10
monitorexit
58: athrow
59: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool int long long java.lang.Boolean org.apache.commons.pool2.PooledObject
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 8
start local 8 60: aload 8
ifnull 63
aload 8
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getLogAbandoned:()Z
ifeq 63
61: aload 7
iconst_1
invokeinterface org.apache.commons.pool2.PooledObject.setLogAbandoned:(Z)V
62: aload 7
aload 8
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRequireFullStackTrace:()Z
invokeinterface org.apache.commons.pool2.PooledObject.setRequireFullStackTrace:(Z)V
63: StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createdCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
64: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
new org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper
dup
aload 7
invokeinterface org.apache.commons.pool2.PooledObject.getObject:()Ljava/lang/Object;
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper.<init>:(Ljava/lang/Object;)V
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
65: aload 7
areturn
end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 66 1 localMaxTotal I
4 66 2 localStartTimeMillis J
5 66 4 localMaxWaitTimeMillis J
6 66 6 create Ljava/lang/Boolean;
9 18 8 newCreateCount J
30 40 7 p Lorg/apache/commons/pool2/PooledObject<TT;>;
52 66 7 p Lorg/apache/commons/pool2/PooledObject<TT;>;
41 43 8 e Ljava/lang/Throwable;
60 66 8 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
Exception table:
from to target type
8 19 20 any
20 21 20 any
33 36 37 any
37 38 37 any
29 32 40 Class java.lang.Throwable
29 32 43 any
40 43 43 any
45 48 49 any
49 50 49 any
53 56 57 any
57 58 57 any
Exceptions:
throws java.lang.Exception
Signature: ()Lorg/apache/commons/pool2/PooledObject<TT;>;
private void destroy(org.apache.commons.pool2.PooledObject<T>);
descriptor: (Lorg/apache/commons/pool2/PooledObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.commons.pool2.PooledObject.invalidate:()V
1: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 1
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.remove:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
new org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper
dup
aload 1
invokeinterface org.apache.commons.pool2.PooledObject.getObject:()Ljava/lang/Object;
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 1
invokeinterface org.apache.commons.pool2.PooledObjectFactory.destroyObject:(Lorg/apache/commons/pool2/PooledObject;)V
4: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.destroyedCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
7: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.destroyedCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
10: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
11: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.isEmpty:()Z
ifeq 14
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.hasTakeWaiters:()Z
ifeq 14
12: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.create:()Lorg/apache/commons/pool2/PooledObject;
astore 2
start local 2 13: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 2
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.put:(Ljava/lang/Object;)V
end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 15 1 toDestroy Lorg/apache/commons/pool2/PooledObject<TT;>;
13 14 2 freshPooled Lorg/apache/commons/pool2/PooledObject<TT;>;
Exception table:
from to target type
3 5 5 any
Exceptions:
throws java.lang.Exception
Signature: (Lorg/apache/commons/pool2/PooledObject<TT;>;)V
MethodParameters:
Name Flags
toDestroy final
void ensureMinIdle();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getMinIdle:()I
iconst_1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.ensureIdle:(IZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
Exceptions:
throws java.lang.Exception
private void ensureIdle(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
if_icmplt 1
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isClosed:()Z
ifne 1
iload 2
ifne 9
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.hasTakeWaiters:()Z
ifne 9
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.create:()Lorg/apache/commons/pool2/PooledObject;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: goto 10
5: StackMap locals: org.apache.commons.pool2.PooledObject
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getLifo:()Z
ifeq 8
6: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 3
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.addFirst:(Ljava/lang/Object;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 3
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.addLast:(Ljava/lang/Object;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
iload 1
if_icmplt 2
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.isClosed:()Z
ifeq 12
11: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.clear:()V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 13 1 idleCount I
0 13 2 always Z
3 9 3 p Lorg/apache/commons/pool2/PooledObject<TT;>;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
idleCount final
always final
public void addObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.assertOpen:()V
1: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
ifnonnull 5
2: new java.lang.IllegalStateException
dup
3: ldc "Cannot add objects without a factory."
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.create:()Lorg/apache/commons/pool2/PooledObject;
astore 1
start local 1 6: aload 0
aload 1
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.addIdleObject:(Lorg/apache/commons/pool2/PooledObject;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
6 8 1 p Lorg/apache/commons/pool2/PooledObject<TT;>;
Exceptions:
throws java.lang.Exception
private void addIdleObject(org.apache.commons.pool2.PooledObject<T>);
descriptor: (Lorg/apache/commons/pool2/PooledObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 6
1: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
aload 1
invokeinterface org.apache.commons.pool2.PooledObjectFactory.passivateObject:(Lorg/apache/commons/pool2/PooledObject;)V
2: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getLifo:()Z
ifeq 5
3: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 1
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.addFirst:(Ljava/lang/Object;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
aload 1
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.addLast:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 7 1 p Lorg/apache/commons/pool2/PooledObject<TT;>;
Exceptions:
throws java.lang.Exception
Signature: (Lorg/apache/commons/pool2/PooledObject<TT;>;)V
MethodParameters:
Name Flags
p final
private int getNumTests();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getNumTestsPerEvictionRun:()I
istore 1
start local 1 1: iload 1
iflt 3
2: iload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
invokestatic java.lang.Math.min:(II)I
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.size:()I
i2d
4: iload 1
i2d
invokestatic java.lang.Math.abs:(D)D
5: ddiv
invokestatic java.lang.Math.ceil:(D)D
d2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
1 6 1 numTestsPerEvictionRun I
private void removeAbandoned(org.apache.commons.pool2.impl.AbandonedConfig);
descriptor: (Lorg/apache/commons/pool2/impl/AbandonedConfig;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 1: lload 2
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getRemoveAbandonedTimeout:()I
i2l
ldc 1000
lmul
lsub
2: lstore 4
start local 4 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 4: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
start local 7 5: goto 16
6: StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool org.apache.commons.pool2.impl.AbandonedConfig long long java.util.ArrayList java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 8
start local 8 7: aload 8
dup
astore 9
monitorenter
8: aload 8
invokeinterface org.apache.commons.pool2.PooledObject.getState:()Lorg/apache/commons/pool2/PooledObjectState;
getstatic org.apache.commons.pool2.PooledObjectState.ALLOCATED:Lorg/apache/commons/pool2/PooledObjectState;
if_acmpne 12
9: aload 8
invokeinterface org.apache.commons.pool2.PooledObject.getLastUsedTime:()J
lload 4
lcmp
ifgt 12
10: aload 8
invokeinterface org.apache.commons.pool2.PooledObject.markAbandoned:()V
11: aload 6
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals: org.apache.commons.pool2.PooledObject org.apache.commons.pool2.PooledObject
StackMap stack:
aload 9
monitorexit
13: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: aload 9
monitorexit
15: athrow
end local 8 16: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: aload 6
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 8
start local 8 18: goto 26
19: StackMap locals: java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 9
start local 9 20: aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getLogAbandoned:()Z
ifeq 22
21: aload 9
aload 1
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getLogWriter:()Ljava/io/PrintWriter;
invokeinterface org.apache.commons.pool2.PooledObject.printStackTrace:(Ljava/io/PrintWriter;)V
22: StackMap locals: org.apache.commons.pool2.PooledObject
StackMap stack:
aload 0
aload 9
invokeinterface org.apache.commons.pool2.PooledObject.getObject:()Ljava/lang/Object;
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.invalidateObject:(Ljava/lang/Object;)V
23: goto 26
StackMap locals:
StackMap stack: java.lang.Exception
24: astore 10
start local 10 25: aload 10
invokevirtual java.lang.Exception.printStackTrace:()V
end local 10 end local 9 26: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
27: return
end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 28 1 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
1 28 2 now J
3 28 4 timeout J
4 28 6 remove Ljava/util/ArrayList<Lorg/apache/commons/pool2/PooledObject<TT;>;>;
5 28 7 it Ljava/util/Iterator<Lorg/apache/commons/pool2/PooledObject<TT;>;>;
7 16 8 pooledObject Lorg/apache/commons/pool2/PooledObject<TT;>;
18 28 8 itr Ljava/util/Iterator<Lorg/apache/commons/pool2/PooledObject<TT;>;>;
20 26 9 pooledObject Lorg/apache/commons/pool2/PooledObject<TT;>;
25 26 10 e Ljava/lang/Exception;
Exception table:
from to target type
8 13 14 any
14 15 14 any
22 23 24 Class java.lang.Exception
MethodParameters:
Name Flags
ac final
public void use();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
astore 2
start local 2 1: aload 2
ifnull 4
aload 2
invokevirtual org.apache.commons.pool2.impl.AbandonedConfig.getUseUsageTracking:()Z
ifeq 4
2: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
new org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper
dup
aload 1
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 3
start local 3 3: aload 3
invokeinterface org.apache.commons.pool2.PooledObject.use:()V
end local 3 4: StackMap locals: org.apache.commons.pool2.impl.AbandonedConfig
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 5 1 pooledObject TT;
1 5 2 ac Lorg/apache/commons/pool2/impl/AbandonedConfig;
3 4 3 wrapper Lorg/apache/commons/pool2/PooledObject<TT;>;
Signature: (TT;)V
MethodParameters:
Name Flags
pooledObject final
public int getNumWaiters();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.pool2.impl.GenericObjectPool.getBlockWhenExhausted:()Z
ifeq 2
1: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual org.apache.commons.pool2.impl.LinkedBlockingDeque.getTakeQueueLength:()I
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
public java.lang.String getFactoryType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factoryType:Ljava/lang/String;
ifnonnull 9
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 2: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
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;
pop
3: aload 1
bipush 60
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.pool2.impl.PoolImplUtils.getFactoryType:(Ljava/lang/Class;)Ljava/lang/Class;
5: astore 2
start local 2 6: aload 1
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 0
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.apache.commons.pool2.impl.GenericObjectPool.factoryType:Ljava/lang/String;
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factoryType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
2 9 1 result Ljava/lang/StringBuilder;
6 9 2 pooledObjectType Ljava/lang/Class<*>;
public java.util.Set<org.apache.commons.pool2.impl.DefaultPooledObjectInfo> listAllObjects();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokespecial java.util.HashSet.<init>:(I)V
1: astore 1
start local 1 2: aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.commons.pool2.impl.GenericObjectPool java.util.Set top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.pool2.PooledObject
astore 2
start local 2 4: aload 1
new org.apache.commons.pool2.impl.DefaultPooledObjectInfo
dup
aload 2
invokespecial org.apache.commons.pool2.impl.DefaultPooledObjectInfo.<init>:(Lorg/apache/commons/pool2/PooledObject;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
2 7 1 result Ljava/util/Set<Lorg/apache/commons/pool2/impl/DefaultPooledObjectInfo;>;
4 5 2 p Lorg/apache/commons/pool2/PooledObject<TT;>;
Signature: ()Ljava/util/Set<Lorg/apache/commons/pool2/impl/DefaultPooledObjectInfo;>;
protected void toStringAppendFields(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.commons.pool2.impl.BaseGenericObjectPool.toStringAppendFields:(Ljava/lang/StringBuilder;)V
1: aload 1
ldc ", factoryType="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factoryType:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ", maxIdle="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.maxIdle:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc ", minIdle="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.minIdle:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc ", factory="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.factory:Lorg/apache/commons/pool2/PooledObjectFactory;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 1
ldc ", allObjects="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.allObjects:Ljava/util/Map;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
11: aload 1
ldc ", createCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.createCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
13: aload 1
ldc ", idleObjects="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.idleObjects:Lorg/apache/commons/pool2/impl/LinkedBlockingDeque;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
15: aload 1
ldc ", abandonedConfig="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 1
aload 0
getfield org.apache.commons.pool2.impl.GenericObjectPool.abandonedConfig:Lorg/apache/commons/pool2/impl/AbandonedConfig;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/commons/pool2/impl/GenericObjectPool<TT;>;
0 18 1 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
builder final
}
Signature: <T:Ljava/lang/Object;>Lorg/apache/commons/pool2/impl/BaseGenericObjectPool<TT;>;Lorg/apache/commons/pool2/ObjectPool<TT;>;Lorg/apache/commons/pool2/impl/GenericObjectPoolMXBean;Lorg/apache/commons/pool2/UsageTracking<TT;>;
SourceFile: "GenericObjectPool.java"
InnerClasses:
EvictionIterator = org.apache.commons.pool2.impl.BaseGenericObjectPool$EvictionIterator of org.apache.commons.pool2.impl.BaseGenericObjectPool
IdentityWrapper = org.apache.commons.pool2.impl.BaseGenericObjectPool$IdentityWrapper of org.apache.commons.pool2.impl.BaseGenericObjectPool