class sun.net.www.http.ClientVector extends java.util.ArrayDeque<sun.net.www.http.KeepAliveEntry>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.www.http.ClientVector
super_class: java.util.ArrayDeque
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8680532108106489459
int nap;
descriptor: I
flags: (0x0000)
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.ArrayDeque.<init>:()V
1: aload 0
iload 1
putfield sun.net.www.http.ClientVector.nap:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/http/ClientVector;
0 3 1 nap I
MethodParameters:
Name Flags
nap
synchronized sun.net.www.http.HttpClient get();
descriptor: ()Lsun/net/www/http/HttpClient;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.http.ClientVector.isEmpty:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 4: StackMap locals: sun.net.www.http.HttpClient long
StackMap stack:
aload 0
invokevirtual sun.net.www.http.ClientVector.pop:()Ljava/lang/Object;
checkcast sun.net.www.http.KeepAliveEntry
astore 4
start local 4 5: lload 2
aload 4
getfield sun.net.www.http.KeepAliveEntry.idleStartTime:J
lsub
aload 0
getfield sun.net.www.http.ClientVector.nap:I
i2l
lcmp
ifle 8
6: aload 4
getfield sun.net.www.http.KeepAliveEntry.hc:Lsun/net/www/http/HttpClient;
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
7: goto 9
8: StackMap locals: sun.net.www.http.KeepAliveEntry
StackMap stack:
aload 4
getfield sun.net.www.http.KeepAliveEntry.hc:Lsun/net/www/http/HttpClient;
astore 1
end local 4 9: StackMap locals:
StackMap stack:
aload 1
ifnonnull 10
aload 0
invokevirtual sun.net.www.http.ClientVector.isEmpty:()Z
ifeq 4
10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/net/www/http/ClientVector;
3 11 1 hc Lsun/net/www/http/HttpClient;
4 11 2 currentTime J
5 9 4 e Lsun/net/www/http/KeepAliveEntry;
synchronized void put(sun.net.www.http.HttpClient);
descriptor: (Lsun/net/www/http/HttpClient;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.www.http.ClientVector.size:()I
invokestatic sun.net.www.http.KeepAliveCache.getMaxConnections:()I
if_icmplt 3
1: aload 1
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
new sun.net.www.http.KeepAliveEntry
dup
aload 1
invokestatic java.lang.System.currentTimeMillis:()J
invokespecial sun.net.www.http.KeepAliveEntry.<init>:(Lsun/net/www/http/HttpClient;J)V
invokevirtual sun.net.www.http.ClientVector.push:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/http/ClientVector;
0 5 1 h Lsun/net/www/http/HttpClient;
MethodParameters:
Name Flags
h
synchronized boolean remove(sun.net.www.http.HttpClient);
descriptor: (Lsun/net/www/http/HttpClient;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.www.http.ClientVector.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: sun.net.www.http.ClientVector sun.net.www.http.HttpClient top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.net.www.http.KeepAliveEntry
astore 2
start local 2 2: aload 2
getfield sun.net.www.http.KeepAliveEntry.hc:Lsun/net/www/http/HttpClient;
aload 1
if_acmpne 4
3: aload 0
aload 2
invokespecial java.util.ArrayDeque.remove:(Ljava/lang/Object;)Z
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/net/www/http/ClientVector;
0 6 1 h Lsun/net/www/http/HttpClient;
2 4 2 curr Lsun/net/www/http/KeepAliveEntry;
MethodParameters:
Name Flags
h
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.io.NotSerializableException
dup
invokespecial java.io.NotSerializableException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/ClientVector;
0 1 1 stream Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.io.NotSerializableException
dup
invokespecial java.io.NotSerializableException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/ClientVector;
0 1 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
stream
}
Signature: Ljava/util/ArrayDeque<Lsun/net/www/http/KeepAliveEntry;>;
SourceFile: "KeepAliveCache.java"