final class com.sun.jndi.ldap.pool.Connections implements com.sun.jndi.ldap.pool.PoolCallback
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.ldap.pool.Connections
super_class: java.lang.Object
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean trace;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int DEFAULT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private final int maxSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int prefSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List conns;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.ref.Reference ref;
descriptor: Ljava/lang/ref/Reference;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.jndi.ldap.pool.Pool.debug:Z
putstatic com.sun.jndi.ldap.pool.Connections.debug:Z
1: getstatic com.sun.jndi.ldap.LdapPoolManager.trace:Z
2: putstatic com.sun.jndi.ldap.pool.Connections.trace:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Object, int, int, int, com.sun.jndi.ldap.pool.PooledConnectionFactory);
descriptor: (Ljava/lang/Object;IIILcom/sun/jndi/ldap/pool/PooledConnectionFactory;)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.jndi.ldap.pool.Connections.closed:Z
2: aload 0
iload 4
putfield com.sun.jndi.ldap.pool.Connections.maxSize:I
3: iload 4
ifle 7
4: aload 0
iload 3
iload 4
invokestatic java.lang.Math.min:(II)I
putfield com.sun.jndi.ldap.pool.Connections.prefSize:I
5: iload 2
iload 4
invokestatic java.lang.Math.min:(II)I
istore 2
6: goto 8
7: StackMap locals: com.sun.jndi.ldap.pool.Connections java.lang.Object int int int com.sun.jndi.ldap.pool.PooledConnectionFactory
StackMap stack:
aload 0
iload 3
putfield com.sun.jndi.ldap.pool.Connections.prefSize:I
8: StackMap locals:
StackMap stack:
aload 0
9: new java.util.ArrayList
dup
iload 4
ifle 10
iload 4
goto 11
StackMap locals: com.sun.jndi.ldap.pool.Connections java.lang.Object int int int com.sun.jndi.ldap.pool.PooledConnectionFactory
StackMap stack: com.sun.jndi.ldap.pool.Connections new 9 new 9
10: bipush 10
StackMap locals: com.sun.jndi.ldap.pool.Connections java.lang.Object int int int com.sun.jndi.ldap.pool.PooledConnectionFactory
StackMap stack: com.sun.jndi.ldap.pool.Connections new 9 new 9 int
11: invokespecial java.util.ArrayList.<init>:(I)V
putfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
12: aload 0
new java.lang.ref.SoftReference
dup
aload 1
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield com.sun.jndi.ldap.pool.Connections.ref:Ljava/lang/ref/Reference;
13: aload 0
ldc "init size="
iload 2
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;I)V
14: aload 0
ldc "max size="
iload 4
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;I)V
15: aload 0
ldc "preferred size="
iload 3
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;I)V
16: iconst_0
istore 7
start local 7 17: goto 22
18: StackMap locals: com.sun.jndi.ldap.pool.Connections java.lang.Object int int int com.sun.jndi.ldap.pool.PooledConnectionFactory top int
StackMap stack:
aload 5
aload 0
invokeinterface com.sun.jndi.ldap.pool.PooledConnectionFactory.createPooledConnection:(Lcom/sun/jndi/ldap/pool/PoolCallback;)Lcom/sun/jndi/ldap/pool/PooledConnection;
astore 6
start local 6 19: aload 0
ldc "Create "
aload 6
aload 5
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
20: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
new com.sun.jndi.ldap.pool.ConnectionDesc
dup
aload 6
invokespecial com.sun.jndi.ldap.pool.ConnectionDesc.<init>:(Lcom/sun/jndi/ldap/pool/PooledConnection;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: iinc 7 1
end local 6 StackMap locals:
StackMap stack:
22: iload 7
iload 2
if_icmplt 18
end local 7 23: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 24 1 id Ljava/lang/Object;
0 24 2 initSize I
0 24 3 prefSize I
0 24 4 maxSize I
0 24 5 factory Lcom/sun/jndi/ldap/pool/PooledConnectionFactory;
19 22 6 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
17 23 7 i I
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
id
initSize
prefSize
maxSize
factory
synchronized com.sun.jndi.ldap.pool.PooledConnection get(long, com.sun.jndi.ldap.pool.PooledConnectionFactory);
descriptor: (JLcom/sun/jndi/ldap/pool/PooledConnectionFactory;)Lcom/sun/jndi/ldap/pool/PooledConnection;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lconst_0
lcmp
ifle 1
invokestatic java.lang.System.currentTimeMillis:()J
goto 2
StackMap locals:
StackMap stack:
1: lconst_0
StackMap locals:
StackMap stack: long
2: lstore 5
start local 5 3: lload 1
lstore 7
start local 7 4: aload 0
ldc "get(): before"
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;)V
5: goto 25
start local 4 6: StackMap locals: com.sun.jndi.ldap.pool.PooledConnection long long
StackMap stack:
lload 1
lconst_0
lcmp
ifle 12
lload 7
lconst_0
lcmp
ifgt 12
7: new javax.naming.CommunicationException
dup
8: new java.lang.StringBuilder
dup
ldc "Timeout exceeded while waiting for a connection: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "ms"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial javax.naming.CommunicationException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
ldc "get(): waiting"
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;)V
13: lload 7
lconst_0
lcmp
ifle 16
14: aload 0
lload 7
invokevirtual java.lang.Object.wait:(J)V
15: goto 22
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
17: goto 22
StackMap locals:
StackMap stack: java.lang.InterruptedException
18: pop
19: new javax.naming.InterruptedNamingException
dup
20: ldc "Interrupted while waiting for a connection"
21: invokespecial javax.naming.InterruptedNamingException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifle 25
23: invokestatic java.lang.System.currentTimeMillis:()J
lstore 9
start local 9 24: lload 1
lload 9
lload 5
lsub
lsub
lstore 7
end local 9 end local 4 25: StackMap locals: com.sun.jndi.ldap.pool.Connections long com.sun.jndi.ldap.pool.PooledConnectionFactory top long long
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.jndi.ldap.pool.Connections.getOrCreateConnection:(Lcom/sun/jndi/ldap/pool/PooledConnectionFactory;)Lcom/sun/jndi/ldap/pool/PooledConnection;
dup
astore 4
start local 4 26: ifnull 6
27: aload 0
ldc "get(): after"
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;)V
28: aload 4
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 29 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 29 1 timeout J
0 29 3 factory Lcom/sun/jndi/ldap/pool/PooledConnectionFactory;
6 25 4 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
26 29 4 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
3 29 5 start J
4 29 7 waittime J
24 25 9 now J
Exception table:
from to target type
12 17 18 Class java.lang.InterruptedException
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
timeout
factory
private com.sun.jndi.ldap.pool.PooledConnection getOrCreateConnection(com.sun.jndi.ldap.pool.PooledConnectionFactory);
descriptor: (Lcom/sun/jndi/ldap/pool/PooledConnectionFactory;)Lcom/sun/jndi/ldap/pool/PooledConnection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 0
getfield com.sun.jndi.ldap.pool.Connections.prefSize:I
ifle 3
iload 2
aload 0
getfield com.sun.jndi.ldap.pool.Connections.prefSize:I
if_icmplt 12
3: StackMap locals: int com.sun.jndi.ldap.pool.PooledConnection
StackMap stack:
iconst_0
istore 5
start local 5 4: goto 11
5: StackMap locals: com.sun.jndi.ldap.pool.Connections com.sun.jndi.ldap.pool.PooledConnectionFactory int com.sun.jndi.ldap.pool.PooledConnection top int
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jndi.ldap.pool.ConnectionDesc
astore 4
start local 4 6: aload 4
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.tryUse:()Lcom/sun/jndi/ldap/pool/PooledConnection;
dup
astore 3
ifnull 10
7: aload 0
ldc "get(): use "
aload 3
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 0
ldc "Use "
aload 3
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;Ljava/lang/Object;)V
9: aload 3
areturn
10: StackMap locals: com.sun.jndi.ldap.pool.Connections com.sun.jndi.ldap.pool.PooledConnectionFactory int com.sun.jndi.ldap.pool.PooledConnection com.sun.jndi.ldap.pool.ConnectionDesc int
StackMap stack:
iinc 5 1
end local 4 StackMap locals: com.sun.jndi.ldap.pool.Connections com.sun.jndi.ldap.pool.PooledConnectionFactory int com.sun.jndi.ldap.pool.PooledConnection top int
StackMap stack:
11: iload 5
iload 2
if_icmplt 5
end local 5 12: StackMap locals: com.sun.jndi.ldap.pool.Connections com.sun.jndi.ldap.pool.PooledConnectionFactory int com.sun.jndi.ldap.pool.PooledConnection
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.pool.Connections.maxSize:I
ifle 14
iload 2
aload 0
getfield com.sun.jndi.ldap.pool.Connections.maxSize:I
if_icmplt 14
13: aconst_null
areturn
14: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface com.sun.jndi.ldap.pool.PooledConnectionFactory.createPooledConnection:(Lcom/sun/jndi/ldap/pool/PoolCallback;)Lcom/sun/jndi/ldap/pool/PooledConnection;
astore 3
15: aload 0
ldc "Create and use "
aload 3
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
16: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
new com.sun.jndi.ldap.pool.ConnectionDesc
dup
aload 3
iconst_1
invokespecial com.sun.jndi.ldap.pool.ConnectionDesc.<init>:(Lcom/sun/jndi/ldap/pool/PooledConnection;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 18 1 factory Lcom/sun/jndi/ldap/pool/PooledConnectionFactory;
1 18 2 size I
2 18 3 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
6 11 4 entry Lcom/sun/jndi/ldap/pool/ConnectionDesc;
4 12 5 i I
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
factory
public synchronized boolean releasePooledConnection(com.sun.jndi.ldap.pool.PooledConnection);
descriptor: (Lcom/sun/jndi/ldap/pool/PooledConnection;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
new com.sun.jndi.ldap.pool.ConnectionDesc
dup
aload 1
invokespecial com.sun.jndi.ldap.pool.ConnectionDesc.<init>:(Lcom/sun/jndi/ldap/pool/PooledConnection;)V
dup
astore 2
start local 2 1: invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 3
start local 3 2: aload 0
ldc "release(): "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;Ljava/lang/Object;)V
3: iload 3
iflt 17
4: aload 0
getfield com.sun.jndi.ldap.pool.Connections.closed:Z
ifne 5
aload 0
getfield com.sun.jndi.ldap.pool.Connections.prefSize:I
ifle 10
aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield com.sun.jndi.ldap.pool.Connections.prefSize:I
if_icmple 10
5: StackMap locals: com.sun.jndi.ldap.pool.ConnectionDesc int
StackMap stack:
aload 0
ldc "release(): closing "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;Ljava/lang/Object;)V
6: aload 0
ldc "Close "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;Ljava/lang/Object;)V
7: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
aload 2
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
8: aload 1
invokeinterface com.sun.jndi.ldap.pool.PooledConnection.closeConnection:()V
9: goto 14
10: StackMap locals:
StackMap stack:
aload 0
ldc "release(): release "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;Ljava/lang/Object;)V
11: aload 0
ldc "Release "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;Ljava/lang/Object;)V
12: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jndi.ldap.pool.ConnectionDesc
astore 2
13: aload 2
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.release:()Z
pop
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.notifyAll:()V
15: aload 0
ldc "release(): notify"
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;)V
16: iconst_1
ireturn
17: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 18 1 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
1 18 2 entry Lcom/sun/jndi/ldap/pool/ConnectionDesc;
2 18 3 loc I
MethodParameters:
Name Flags
conn
public synchronized boolean removePooledConnection(com.sun.jndi.ldap.pool.PooledConnection);
descriptor: (Lcom/sun/jndi/ldap/pool/PooledConnection;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
new com.sun.jndi.ldap.pool.ConnectionDesc
dup
aload 1
invokespecial com.sun.jndi.ldap.pool.ConnectionDesc.<init>:(Lcom/sun/jndi/ldap/pool/PooledConnection;)V
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ifeq 8
1: aload 0
ldc "remove(): "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;Ljava/lang/Object;)V
2: aload 0
invokevirtual java.lang.Object.notifyAll:()V
3: aload 0
ldc "remove(): notify"
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;)V
4: aload 0
ldc "Remove "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
6: aload 0
aconst_null
putfield com.sun.jndi.ldap.pool.Connections.ref:Ljava/lang/ref/Reference;
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
ldc "remove(): not found "
aload 1
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;Ljava/lang/Object;)V
9: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 10 1 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
MethodParameters:
Name Flags
conn
synchronized boolean expire(long);
descriptor: (J)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: goto 7
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jndi.ldap.pool.ConnectionDesc
astore 4
start local 4 3: aload 4
lload 1
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.expire:(J)Z
ifeq 7
4: aload 0
ldc "expire(): removing "
aload 4
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 0
ldc "Expired "
aload 4
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;Ljava/lang/Object;)V
6: aload 3
invokeinterface java.util.Iterator.remove:()V
end local 4 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 9 1 threshold J
1 9 3 iter Ljava/util/Iterator;
3 7 4 entry Lcom/sun/jndi/ldap/pool/ConnectionDesc;
MethodParameters:
Name Flags
threshold
synchronized void close();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual com.sun.jndi.ldap.pool.Connections.expire:(J)Z
pop
1: aload 0
iconst_1
putfield com.sun.jndi.ldap.pool.Connections.closed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/Connections;
java.lang.String getStats();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=10, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: lconst_0
lstore 4
start local 4 4: aload 0
dup
astore 7
monitorenter
5: aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 6
start local 6 6: iconst_0
istore 9
start local 9 7: goto 17
8: StackMap locals: com.sun.jndi.ldap.pool.Connections int int int long int com.sun.jndi.ldap.pool.Connections top int
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jndi.ldap.pool.ConnectionDesc
astore 8
start local 8 9: lload 4
aload 8
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.getUseCount:()J
ladd
lstore 4
10: aload 8
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.getState:()I
tableswitch { // 0 - 2
0: 11
1: 13
2: 15
default: 16
}
11: StackMap locals: com.sun.jndi.ldap.pool.Connections int int int long int com.sun.jndi.ldap.pool.Connections com.sun.jndi.ldap.pool.ConnectionDesc int
StackMap stack:
iinc 2 1
12: goto 16
13: StackMap locals:
StackMap stack:
iinc 1 1
14: goto 16
15: StackMap locals:
StackMap stack:
iinc 3 1
16: StackMap locals:
StackMap stack:
iinc 9 1
end local 8 StackMap locals: com.sun.jndi.ldap.pool.Connections int int int long int com.sun.jndi.ldap.pool.Connections top int
StackMap stack:
17: iload 9
iload 6
if_icmplt 8
end local 9 18: aload 7
monitorexit
19: goto 22
end local 6 StackMap locals: com.sun.jndi.ldap.pool.Connections int int int long top com.sun.jndi.ldap.pool.Connections
StackMap stack: java.lang.Throwable
20: aload 7
monitorexit
21: athrow
start local 6 22: StackMap locals: com.sun.jndi.ldap.pool.Connections int int int long int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "size="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "; use="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 4
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "; busy="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
23: ldc "; idle="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "; expired="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
24: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/jndi/ldap/pool/Connections;
1 25 1 idle I
2 25 2 busy I
3 25 3 expired I
4 25 4 use J
6 20 6 len I
22 25 6 len I
9 17 8 entry Lcom/sun/jndi/ldap/pool/ConnectionDesc;
7 18 9 i I
Exception table:
from to target type
5 19 20 any
20 21 20 any
private void d(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.jndi.ldap.pool.Connections.debug:Z
ifeq 2
1: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 3 1 msg Ljava/lang/String;
0 3 2 o1 Ljava/lang/Object;
MethodParameters:
Name Flags
msg
o1
private void d(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.jndi.ldap.pool.Connections.debug:Z
ifeq 2
1: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.jndi.ldap.pool.Connections.d:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 3 1 msg Ljava/lang/String;
0 3 2 i I
MethodParameters:
Name Flags
msg
i
private void d(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.jndi.ldap.pool.Connections.debug:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; size: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.jndi.ldap.pool.Connections.conns:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 3 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
private void td(java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.jndi.ldap.pool.Connections.trace:Z
ifeq 2
1: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 3 1 msg Ljava/lang/String;
0 3 2 o1 Ljava/lang/Object;
0 3 3 o2 Ljava/lang/Object;
MethodParameters:
Name Flags
msg
o1
o2
private void td(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.jndi.ldap.pool.Connections.trace:Z
ifeq 2
1: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.jndi.ldap.pool.Connections.td:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 3 1 msg Ljava/lang/String;
0 3 2 o1 Ljava/lang/Object;
MethodParameters:
Name Flags
msg
o1
private void td(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.jndi.ldap.pool.Connections.trace:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/Connections;
0 3 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
}
SourceFile: "Connections.java"