class sun.net.www.http.KeepAliveStreamCleaner extends java.util.LinkedList<sun.net.www.http.KeepAliveCleanerEntry> implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.www.http.KeepAliveStreamCleaner
super_class: java.util.LinkedList
{
protected static int MAX_DATA_REMAINING;
descriptor: I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static int MAX_CAPACITY;
descriptor: I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static final int TIMEOUT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 5000
private static final int MAX_RETRIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: sipush 512
putstatic sun.net.www.http.KeepAliveStreamCleaner.MAX_DATA_REMAINING:I
1: bipush 10
putstatic sun.net.www.http.KeepAliveStreamCleaner.MAX_CAPACITY:I
2: new sun.net.www.http.KeepAliveStreamCleaner$1
dup
invokespecial sun.net.www.http.KeepAliveStreamCleaner$1.<init>:()V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
4: invokevirtual java.lang.Integer.intValue:()I
sipush 1024
5: imul
istore 0
start local 0 6: iload 0
putstatic sun.net.www.http.KeepAliveStreamCleaner.MAX_DATA_REMAINING:I
7: new sun.net.www.http.KeepAliveStreamCleaner$2
dup
invokespecial sun.net.www.http.KeepAliveStreamCleaner$2.<init>:()V
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
9: invokevirtual java.lang.Integer.intValue:()I
10: istore 1
start local 1 11: iload 1
putstatic sun.net.www.http.KeepAliveStreamCleaner.MAX_CAPACITY:I
end local 1 end local 0 12: return
LocalVariableTable:
Start End Slot Name Signature
6 12 0 maxData I
11 12 1 maxCapacity I
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.LinkedList.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/http/KeepAliveStreamCleaner;
public boolean offer(sun.net.www.http.KeepAliveCleanerEntry);
descriptor: (Lsun/net/www/http/KeepAliveCleanerEntry;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.www.http.KeepAliveStreamCleaner.size:()I
getstatic sun.net.www.http.KeepAliveStreamCleaner.MAX_CAPACITY:I
if_icmplt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.util.LinkedList.offer:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/http/KeepAliveStreamCleaner;
0 3 1 e Lsun/net/www/http/KeepAliveCleanerEntry;
MethodParameters:
Name Flags
e
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: StackMap locals: sun.net.www.http.KeepAliveCleanerEntry
StackMap stack:
aload 0
dup
astore 2
monitorenter
2: invokestatic java.lang.System.currentTimeMillis:()J
lstore 3
start local 3 3: ldc 5000
lstore 5
start local 5 4: goto 13
5: StackMap locals: sun.net.www.http.KeepAliveStreamCleaner long long
StackMap stack:
aload 0
lload 5
invokevirtual java.lang.Object.wait:(J)V
6: invokestatic java.lang.System.currentTimeMillis:()J
lstore 7
start local 7 7: lload 7
lload 3
lsub
lstore 9
start local 9 8: lload 9
lload 5
lcmp
ifle 11
9: aload 0
invokevirtual sun.net.www.http.KeepAliveStreamCleaner.poll:()Ljava/lang/Object;
checkcast sun.net.www.http.KeepAliveCleanerEntry
astore 1
10: goto 14
11: StackMap locals: long long
StackMap stack:
lload 7
lstore 3
12: lload 5
lload 9
lsub
lstore 5
end local 9 end local 7 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.http.KeepAliveStreamCleaner.poll:()Ljava/lang/Object;
checkcast sun.net.www.http.KeepAliveCleanerEntry
dup
astore 1
ifnull 5
end local 5 end local 3 14: StackMap locals:
StackMap stack:
aload 2
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 2
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
aload 1
ifnonnull 20
19: goto 57
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.net.www.http.KeepAliveCleanerEntry.getKeepAliveStream:()Lsun/net/www/http/KeepAliveStream;
astore 2
start local 2 21: aload 2
ifnull 56
22: aload 2
dup
astore 3
monitorenter
23: aload 1
invokevirtual sun.net.www.http.KeepAliveCleanerEntry.getHttpClient:()Lsun/net/www/http/HttpClient;
astore 4
start local 4 24: aload 4
ifnull 50
aload 4
invokevirtual sun.net.www.http.HttpClient.isInKeepAliveCache:()Z
ifne 50
25: aload 4
invokevirtual sun.net.www.http.HttpClient.getReadTimeout:()I
istore 5
start local 5 26: aload 4
sipush 5000
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
27: aload 2
invokevirtual sun.net.www.http.KeepAliveStream.remainingToRead:()J
lstore 6
start local 6 28: lload 6
lconst_0
lcmp
ifle 38
29: lconst_0
lstore 8
start local 8 30: iconst_0
istore 10
start local 10 31: goto 36
32: StackMap locals: sun.net.www.http.KeepAliveStreamCleaner sun.net.www.http.KeepAliveCleanerEntry sun.net.www.http.KeepAliveStream sun.net.www.http.KeepAliveStream sun.net.www.http.HttpClient int long long int
StackMap stack:
lload 6
lload 8
lsub
lstore 6
33: aload 2
lload 6
invokevirtual sun.net.www.http.KeepAliveStream.skip:(J)J
lstore 8
34: lload 8
lconst_0
lcmp
ifne 36
35: iinc 10 1
36: StackMap locals:
StackMap stack:
lload 8
lload 6
lcmp
ifge 37
iload 10
iconst_5
if_icmplt 32
37: StackMap locals:
StackMap stack:
lload 6
lload 8
lsub
lstore 6
end local 10 end local 8 38: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifne 42
39: aload 4
iload 5
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
40: aload 4
invokevirtual sun.net.www.http.HttpClient.finished:()V
41: goto 50
42: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
end local 6 end local 5 43: goto 50
StackMap locals: sun.net.www.http.KeepAliveStreamCleaner sun.net.www.http.KeepAliveCleanerEntry sun.net.www.http.KeepAliveStream sun.net.www.http.KeepAliveStream sun.net.www.http.HttpClient
StackMap stack: java.io.IOException
44: pop
45: aload 4
invokevirtual sun.net.www.http.HttpClient.closeServer:()V
46: aload 2
invokevirtual sun.net.www.http.KeepAliveStream.setClosed:()V
goto 51
47: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
48: aload 2
invokevirtual sun.net.www.http.KeepAliveStream.setClosed:()V
49: aload 11
athrow
50: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.net.www.http.KeepAliveStream.setClosed:()V
end local 4 51: StackMap locals:
StackMap stack:
aload 3
monitorexit
52: goto 56
StackMap locals:
StackMap stack: java.lang.Throwable
53: aload 3
monitorexit
54: athrow
end local 2 55: StackMap locals: sun.net.www.http.KeepAliveStreamCleaner sun.net.www.http.KeepAliveCleanerEntry
StackMap stack: java.lang.InterruptedException
pop
56: StackMap locals:
StackMap stack:
aload 1
ifnonnull 1
57: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Lsun/net/www/http/KeepAliveStreamCleaner;
1 58 1 kace Lsun/net/www/http/KeepAliveCleanerEntry;
3 14 3 before J
4 14 5 timeout J
7 13 7 after J
8 13 9 elapsed J
21 55 2 kas Lsun/net/www/http/KeepAliveStream;
24 51 4 hc Lsun/net/www/http/HttpClient;
26 43 5 oldTimeout I
28 43 6 remainingToRead J
30 38 8 n J
31 38 10 retries I
Exception table:
from to target type
2 15 16 any
16 17 16 any
24 43 44 Class java.io.IOException
24 46 47 any
23 52 53 any
53 54 53 any
1 19 55 Class java.lang.InterruptedException
20 55 55 Class java.lang.InterruptedException
public boolean offer(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast sun.net.www.http.KeepAliveCleanerEntry
invokevirtual sun.net.www.http.KeepAliveStreamCleaner.offer:(Lsun/net/www/http/KeepAliveCleanerEntry;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/util/LinkedList<Lsun/net/www/http/KeepAliveCleanerEntry;>;Ljava/lang/Runnable;
SourceFile: "KeepAliveStreamCleaner.java"
NestMembers:
sun.net.www.http.KeepAliveStreamCleaner$1 sun.net.www.http.KeepAliveStreamCleaner$2
InnerClasses:
sun.net.www.http.KeepAliveStreamCleaner$1
sun.net.www.http.KeepAliveStreamCleaner$2