final class jdk.internal.net.http.HttpClientImpl$SelectorManager extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.HttpClientImpl$SelectorManager
super_class: java.lang.Thread
{
private static final int MIN_NODEADLINE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private static final int MAX_NODEADLINE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1200000
private static final int DEF_NODEADLINE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3000
private static final long NODEADLINE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.nio.channels.Selector selector;
descriptor: Ljava/nio/channels/Selector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.List<jdk.internal.net.http.AsyncEvent> registrations;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/internal/net/http/AsyncEvent;>;
private final java.util.List<jdk.internal.net.http.AsyncTriggerEvent> deregistrations;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/internal/net/http/AsyncTriggerEvent;>;
private final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.common.Logger debugtimeout;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
jdk.internal.net.http.HttpClientImpl owner;
descriptor: Ljdk/internal/net/http/HttpClientImpl;
flags: (0x0000)
jdk.internal.net.http.ConnectionPool pool;
descriptor: Ljdk/internal/net/http/ConnectionPool;
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: ldc Ljdk/internal/net/http/HttpClientImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
3: ldc "jdk.internal.httpclient.selectorTimeout"
4: sipush 3000
5: invokestatic jdk.internal.net.http.common.Utils.getIntegerProperty:(Ljava/lang/String;I)I
i2l
lstore 0
start local 0 6: lload 0
lconst_0
lcmp
ifgt 7
ldc 3000
lstore 0
7: StackMap locals: long
StackMap stack:
lload 0
ldc 1000
invokestatic java.lang.Math.max:(JJ)J
lstore 0
8: lload 0
ldc 1200000
invokestatic java.lang.Math.min:(JJ)J
putstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.NODEADLINE:J
end local 0 9: return
LocalVariableTable:
Start End Slot Name Signature
6 9 0 deadline J
void <init>(jdk.internal.net.http.HttpClientImpl);
descriptor: (Ljdk/internal/net/http/HttpClientImpl;)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
1: new java.lang.StringBuilder
dup
ldc "HttpClient-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield jdk.internal.net.http.HttpClientImpl.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "-SelectorManager"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: lconst_0
iconst_0
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
3: aload 0
aload 1
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
4: aload 0
aload 1
getfield jdk.internal.net.http.HttpClientImpl.debug:Ljdk/internal/net/http/common/Logger;
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
5: aload 0
aload 1
getfield jdk.internal.net.http.HttpClientImpl.debugtimeout:Ljdk/internal/net/http/common/Logger;
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debugtimeout:Ljdk/internal/net/http/common/Logger;
6: aload 0
aload 1
invokevirtual jdk.internal.net.http.HttpClientImpl.connectionPool:()Ljdk/internal/net/http/ConnectionPool;
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.pool:Ljdk/internal/net/http/ConnectionPool;
7: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.registrations:Ljava/util/List;
8: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.deregistrations:Ljava/util/List;
9: aload 0
invokestatic java.nio.channels.Selector.open:()Ljava/nio/channels/Selector;
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
0 11 1 ref Ljdk/internal/net/http/HttpClientImpl;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ref
void eventUpdated(jdk.internal.net.http.AsyncEvent);
descriptor: (Ljdk/internal/net/http/AsyncEvent;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
if_acmpne 10
1: aload 1
invokevirtual jdk.internal.net.http.AsyncEvent.channel:()Ljava/nio/channels/SelectableChannel;
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.SelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
astore 2
start local 2 2: aload 2
ifnull 6
aload 2
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 6
3: aload 2
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
checkcast jdk.internal.net.http.HttpClientImpl$SelectorAttachment
astore 3
start local 3 4: aload 3
aload 1
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorAttachment.register:(Ljdk/internal/net/http/AsyncEvent;)V
end local 3 5: goto 11
StackMap locals: java.nio.channels.SelectionKey
StackMap stack:
6: aload 1
invokevirtual jdk.internal.net.http.AsyncEvent.interestOps:()I
ifeq 11
7: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 8
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
ldc "No key for channel"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 1
new java.io.IOException
dup
ldc "No key for channel"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
invokevirtual jdk.internal.net.http.AsyncEvent.abort:(Ljava/io/IOException;)V
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.register:(Ljdk/internal/net/http/AsyncEvent;)V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
0 12 1 e Ljdk/internal/net/http/AsyncEvent;
2 9 2 key Ljava/nio/channels/SelectionKey;
4 5 3 sa Ljdk/internal/net/http/HttpClientImpl$SelectorAttachment;
Exceptions:
throws java.nio.channels.ClosedChannelException
MethodParameters:
Name Flags
e
synchronized void register(jdk.internal.net.http.AsyncEvent);
descriptor: (Ljdk/internal/net/http/AsyncEvent;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.registrations:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
0 3 1 e Ljdk/internal/net/http/AsyncEvent;
MethodParameters:
Name Flags
e
synchronized void cancel(java.nio.channels.SocketChannel);
descriptor: (Ljava/nio/channels/SocketChannel;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.SocketChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokevirtual java.nio.channels.SelectionKey.cancel:()V
3: StackMap locals: java.nio.channels.SelectionKey
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
0 5 1 e Ljava/nio/channels/SocketChannel;
1 5 2 key Ljava/nio/channels/SelectionKey;
MethodParameters:
Name Flags
e
void wakeupSelector();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.wakeup:()Ljava/nio/channels/Selector;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
synchronized void shutdown();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 0: ldc "{0}: shutting down"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
aastore
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 2
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
ldc "SelectorManager shutting down"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.net.http.HttpClientImpl$SelectorManager.closed:Z
3: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.close:()V
4: goto 10
StackMap locals:
StackMap stack: java.io.IOException
5: pop
6: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.stop:()V
goto 11
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
8: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.stop:()V
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.stop:()V
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
Exception table:
from to target type
3 4 5 Class java.io.IOException
3 6 7 any
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=19, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 131
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": starting"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
4: goto 131
5: StackMap locals: java.util.List java.util.List java.util.List
StackMap stack:
aload 0
dup
astore 4
monitorenter
6: getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
ifne 7
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
ifne 8
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
ifne 9
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.deregistrations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List jdk.internal.net.http.HttpClientImpl$SelectorManager top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.AsyncTriggerEvent
astore 5
start local 5 11: aload 5
invokevirtual jdk.internal.net.http.AsyncTriggerEvent.handle:()V
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.deregistrations:Ljava/util/List;
invokeinterface java.util.List.clear:()V
14: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.registrations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 42
StackMap locals:
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.AsyncEvent
astore 5
start local 5 16: aload 5
instanceof jdk.internal.net.http.AsyncTriggerEvent
ifeq 19
17: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: goto 42
19: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List jdk.internal.net.http.HttpClientImpl$SelectorManager jdk.internal.net.http.AsyncEvent java.util.Iterator
StackMap stack:
aload 5
invokevirtual jdk.internal.net.http.AsyncEvent.channel:()Ljava/nio/channels/SelectableChannel;
astore 7
start local 7 20: aconst_null
astore 8
start local 8 21: aload 7
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.SelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
astore 8
22: aload 8
ifnull 23
aload 8
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifne 27
23: StackMap locals: java.nio.channels.SelectableChannel java.nio.channels.SelectionKey
StackMap stack:
aload 8
ifnull 25
24: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectNow:()I
pop
25: StackMap locals:
StackMap stack:
new jdk.internal.net.http.HttpClientImpl$SelectorAttachment
dup
aload 7
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokespecial jdk.internal.net.http.HttpClientImpl$SelectorAttachment.<init>:(Ljava/nio/channels/SelectableChannel;Ljava/nio/channels/Selector;)V
astore 9
start local 9 26: goto 28
end local 9 27: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
checkcast jdk.internal.net.http.HttpClientImpl$SelectorAttachment
astore 9
start local 9 28: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorAttachment
StackMap stack:
aload 9
aload 5
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorAttachment.register:(Ljdk/internal/net/http/AsyncEvent;)V
29: aload 7
invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
ifne 42
30: new java.io.IOException
dup
ldc "Channel closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 9 31: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List jdk.internal.net.http.HttpClientImpl$SelectorManager jdk.internal.net.http.AsyncEvent java.util.Iterator java.nio.channels.SelectableChannel java.nio.channels.SelectionKey
StackMap stack: java.io.IOException
astore 9
start local 9 32: ldc "{0}: {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 9
aastore
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
33: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 37
34: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
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;
35: ldc " while handling registration events"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
36: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
37: StackMap locals: java.io.IOException
StackMap stack:
aload 7
invokevirtual java.nio.channels.SelectableChannel.close:()V
38: aload 1
new jdk.internal.net.http.common.Pair
dup
aload 5
aload 9
invokespecial jdk.internal.net.http.common.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
39: aload 8
ifnull 42
40: aload 8
invokevirtual java.nio.channels.SelectionKey.cancel:()V
41: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectNow:()I
pop
end local 9 end local 8 end local 7 end local 5 42: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List jdk.internal.net.http.HttpClientImpl$SelectorManager top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
43: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.registrations:Ljava/util/List;
invokeinterface java.util.List.clear:()V
44: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
45: aload 4
monitorexit
46: goto 49
StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List jdk.internal.net.http.HttpClientImpl$SelectorManager
StackMap stack: java.lang.Throwable
47: aload 4
monitorexit
48: athrow
49: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 53
StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
50: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.AsyncEvent
astore 4
start local 4 51: getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
ifne 52
aload 4
instanceof jdk.internal.net.http.AsyncTriggerEvent
ifne 52
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
52: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List jdk.internal.net.http.AsyncEvent java.util.Iterator
StackMap stack:
aload 4
invokevirtual jdk.internal.net.http.AsyncEvent.handle:()V
end local 4 53: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 50
54: aload 2
invokeinterface java.util.List.clear:()V
55: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 58
StackMap locals:
StackMap stack:
56: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.common.Pair
astore 4
start local 4 57: aload 0
aload 4
getfield jdk.internal.net.http.common.Pair.first:Ljava/lang/Object;
checkcast jdk.internal.net.http.AsyncEvent
aload 4
getfield jdk.internal.net.http.common.Pair.second:Ljava/lang/Object;
checkcast java.io.IOException
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent:(Ljdk/internal/net/http/AsyncEvent;Ljava/io/IOException;)V
end local 4 58: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 56
59: aload 1
invokeinterface java.util.List.clear:()V
60: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.isReferenced:()Z
ifne 68
61: ldc "{0}: {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
62: aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
aastore
dup
iconst_1
63: ldc "HttpClient no longer referenced. Exiting..."
aastore
64: invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
65: invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 66
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": stopping"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
66: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.shutdown:()V
67: return
68: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline:()J
lstore 4
start local 4 69: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debugtimeout:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 71
70: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debugtimeout:Ljdk/internal/net/http/common/Logger;
ldc "next timeout: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
71: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.pool:Ljdk/internal/net/http/ConnectionPool;
invokevirtual jdk.internal.net.http.ConnectionPool.purgeExpiredConnectionsAndReturnNextDeadline:()J
lstore 6
start local 6 72: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debugtimeout:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 74
73: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debugtimeout:Ljdk/internal/net/http/common/Logger;
ldc "next expired: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
74: StackMap locals: long
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
ifne 75
lload 4
lconst_0
lcmp
ifge 75
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
75: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
ifne 76
lload 6
lconst_0
lcmp
ifge 76
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
76: StackMap locals:
StackMap stack:
lload 4
lconst_0
lcmp
ifgt 77
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.NODEADLINE:J
lstore 4
77: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifgt 78
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.NODEADLINE:J
lstore 6
goto 79
78: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.NODEADLINE:J
lload 6
invokestatic java.lang.Math.min:(JJ)J
lstore 6
79: StackMap locals:
StackMap stack:
lload 6
lload 4
invokestatic java.lang.Math.min:(JJ)J
lstore 8
start local 8 80: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debugtimeout:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 86
81: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debugtimeout:Ljdk/internal/net/http/common/Logger;
ldc "Next deadline is %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
82: lload 8
lconst_0
lcmp
ifne 83
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.NODEADLINE:J
goto 84
StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List long long long
StackMap stack: jdk.internal.net.http.common.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
83: lload 8
StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List long long long
StackMap stack: jdk.internal.net.http.common.Logger java.lang.String java.lang.Object[] java.lang.Object[] int long
84: invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
85: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
86: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
lload 8
lconst_0
lcmp
ifne 87
getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.NODEADLINE:J
goto 88
StackMap locals:
StackMap stack: java.nio.channels.Selector
87: lload 8
StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List long long long
StackMap stack: java.nio.channels.Selector long
88: invokevirtual java.nio.channels.Selector.select:(J)I
istore 10
start local 10 89: iload 10
ifne 100
90: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.isReferenced:()Z
ifne 98
91: ldc "{0}: {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
92: aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
aastore
dup
iconst_1
93: ldc "HttpClient no longer referenced. Exiting..."
aastore
94: invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
95: invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 96
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": stopping"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
96: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.shutdown:()V
97: return
98: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.owner:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.purgeTimeoutsAndReturnNextDeadline:()J
pop2
99: goto 131
100: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
astore 11
start local 11 101: getstatic jdk.internal.net.http.HttpClientImpl$SelectorManager.$assertionsDisabled:Z
ifne 102
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 102
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
102: StackMap locals: java.util.Set
StackMap stack:
aload 11
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 122
StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List long long long int java.util.Set top java.util.Iterator
StackMap stack:
103: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.channels.SelectionKey
astore 12
start local 12 104: aload 12
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
checkcast jdk.internal.net.http.HttpClientImpl$SelectorAttachment
astore 14
start local 14 105: aload 12
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifne 113
106: aload 14
getfield jdk.internal.net.http.HttpClientImpl$SelectorAttachment.chan:Ljava/nio/channels/SelectableChannel;
invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
ifeq 108
107: new java.io.IOException
dup
ldc "Invalid key"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
goto 109
108: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List long long long int java.util.Set java.nio.channels.SelectionKey java.util.Iterator jdk.internal.net.http.HttpClientImpl$SelectorAttachment
StackMap stack:
new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
109: StackMap locals:
StackMap stack: java.io.IOException
astore 15
start local 15 110: aload 14
getfield jdk.internal.net.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
aload 1
aload 15
invokedynamic accept(Ljava/util/List;Ljava/io/IOException;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/internal/net/http/HttpClientImpl$SelectorManager.lambda$0(Ljava/util/List;Ljava/io/IOException;Ljdk/internal/net/http/AsyncEvent;)V (6)
(Ljdk/internal/net/http/AsyncEvent;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
111: aload 14
getfield jdk.internal.net.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
112: goto 122
end local 15 113: StackMap locals:
StackMap stack:
aload 12
invokevirtual java.nio.channels.SelectionKey.readyOps:()I
istore 15
start local 15 114: goto 120
end local 15 StackMap locals:
StackMap stack: java.nio.channels.CancelledKeyException
115: astore 16
start local 16 116: aload 16
invokestatic jdk.internal.net.http.common.Utils.getIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
astore 17
start local 17 117: aload 14
getfield jdk.internal.net.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
aload 1
aload 17
invokedynamic accept(Ljava/util/List;Ljava/io/IOException;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/internal/net/http/HttpClientImpl$SelectorManager.lambda$1(Ljava/util/List;Ljava/io/IOException;Ljdk/internal/net/http/AsyncEvent;)V (6)
(Ljdk/internal/net/http/AsyncEvent;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
118: aload 14
getfield jdk.internal.net.http.HttpClientImpl$SelectorAttachment.pending:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
119: goto 122
end local 17 end local 16 start local 15 120: StackMap locals: int
StackMap stack:
aload 14
iload 15
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorAttachment.events:(I)Ljava/util/stream/Stream;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/List.add(Ljava/lang/Object;)Z (9 itf)
(Ljdk/internal/net/http/AsyncEvent;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
121: aload 3
aload 14
iload 15
invokedynamic run(Ljdk/internal/net/http/HttpClientImpl$SelectorAttachment;I)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/internal/net/http/HttpClientImpl$SelectorManager.lambda$3(Ljdk/internal/net/http/HttpClientImpl$SelectorAttachment;I)V (6)
()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 15 end local 14 end local 12 122: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List long long long int java.util.Set top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 103
123: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectNow:()I
pop
124: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.selector:Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
125: aload 2
aload 0
invokedynamic accept(Ljdk/internal/net/http/HttpClientImpl$SelectorManager;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/internal/net/http/HttpClientImpl$SelectorManager.lambda$4(Ljdk/internal/net/http/AsyncEvent;)V (7)
(Ljdk/internal/net/http/AsyncEvent;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
126: aload 2
invokeinterface java.util.List.clear:()V
127: aload 1
aload 0
invokedynamic accept(Ljdk/internal/net/http/HttpClientImpl$SelectorManager;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/internal/net/http/HttpClientImpl$SelectorManager.lambda$5(Ljdk/internal/net/http/common/Pair;)V (7)
(Ljdk/internal/net/http/common/Pair;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
128: aload 1
invokeinterface java.util.List.clear:()V
129: aload 3
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/internal/net/http/HttpClientImpl$SelectorManager.lambda$6(Ljava/lang/Runnable;)V (6)
(Ljava/lang/Runnable;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
130: aload 3
invokeinterface java.util.List.clear:()V
end local 11 end local 10 end local 8 end local 6 end local 4 131: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.isInterrupted:()Z
ifeq 5
132: goto 148
StackMap locals:
StackMap stack: java.lang.Throwable
133: astore 4
start local 4 134: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.closed:Z
ifne 139
135: aload 4
invokestatic jdk.internal.net.http.common.Utils.stackTrace:(Ljava/lang/Throwable;)Ljava/lang/String;
astore 5
start local 5 136: ldc "{0}: {1}: {2}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
aastore
dup
iconst_1
137: ldc "HttpClientImpl shutting down due to fatal error"
aastore
dup
iconst_2
aload 5
aastore
138: invokestatic jdk.internal.net.http.common.Log.logError:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 5 139: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 140
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
ldc "shutting down"
aload 4
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
140: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.common.Utils.ASSERTIONSENABLED:Z
ifeq 142
aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifne 142
141: aload 4
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
end local 4 142: StackMap locals:
StackMap stack:
invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 143
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": stopping"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
143: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.shutdown:()V
goto 150
144: StackMap locals:
StackMap stack: java.lang.Throwable
astore 18
145: invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 146
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": stopping"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
146: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List top top top top top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.shutdown:()V
147: aload 18
athrow
148: StackMap locals: jdk.internal.net.http.HttpClientImpl$SelectorManager java.util.List java.util.List java.util.List
StackMap stack:
invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 149
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": stopping"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
149: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.shutdown:()V
150: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 151 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
1 151 1 errorList Ljava/util/List<Ljdk/internal/net/http/common/Pair<Ljdk/internal/net/http/AsyncEvent;Ljava/io/IOException;>;>;
2 151 2 readyList Ljava/util/List<Ljdk/internal/net/http/AsyncEvent;>;
3 151 3 resetList Ljava/util/List<Ljava/lang/Runnable;>;
11 12 5 event Ljdk/internal/net/http/AsyncTriggerEvent;
16 42 5 event Ljdk/internal/net/http/AsyncEvent;
20 42 7 chan Ljava/nio/channels/SelectableChannel;
21 42 8 key Ljava/nio/channels/SelectionKey;
26 27 9 sa Ljdk/internal/net/http/HttpClientImpl$SelectorAttachment;
28 31 9 sa Ljdk/internal/net/http/HttpClientImpl$SelectorAttachment;
32 42 9 e Ljava/io/IOException;
51 53 4 event Ljdk/internal/net/http/AsyncEvent;
57 58 4 error Ljdk/internal/net/http/common/Pair<Ljdk/internal/net/http/AsyncEvent;Ljava/io/IOException;>;
69 131 4 nextTimeout J
72 131 6 nextExpiry J
80 131 8 millis J
89 131 10 n I
101 131 11 keys Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
104 122 12 key Ljava/nio/channels/SelectionKey;
105 122 14 sa Ljdk/internal/net/http/HttpClientImpl$SelectorAttachment;
110 113 15 ex Ljava/io/IOException;
114 115 15 eventsOccurred I
120 122 15 eventsOccurred I
116 120 16 ex Ljava/nio/channels/CancelledKeyException;
117 120 17 io Ljava/io/IOException;
134 142 4 e Ljava/lang/Throwable;
136 139 5 err Ljava/lang/String;
Exception table:
from to target type
21 31 31 Class java.io.IOException
6 46 47 any
47 48 47 any
113 114 115 Class java.nio.channels.CancelledKeyException
3 65 133 Class java.lang.Throwable
68 95 133 Class java.lang.Throwable
98 132 133 Class java.lang.Throwable
3 65 144 any
68 95 144 any
98 142 144 any
void handleEvent(jdk.internal.net.http.AsyncEvent, java.io.IOException);
descriptor: (Ljdk/internal/net/http/AsyncEvent;Ljava/io/IOException;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl$SelectorManager.closed:Z
ifne 1
aload 2
ifnull 3
1: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual jdk.internal.net.http.AsyncEvent.abort:(Ljava/io/IOException;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.internal.net.http.AsyncEvent.handle:()V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
0 5 1 event Ljdk/internal/net/http/AsyncEvent;
0 5 2 ioe Ljava/io/IOException;
MethodParameters:
Name Flags
event
ioe
private static void lambda$0(java.util.List, java.io.IOException, jdk.internal.net.http.AsyncEvent);
descriptor: (Ljava/util/List;Ljava/io/IOException;Ljdk/internal/net/http/AsyncEvent;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 2 0: aload 0
new jdk.internal.net.http.common.Pair
dup
aload 2
aload 1
invokespecial jdk.internal.net.http.common.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 e Ljdk/internal/net/http/AsyncEvent;
private static void lambda$1(java.util.List, java.io.IOException, jdk.internal.net.http.AsyncEvent);
descriptor: (Ljava/util/List;Ljava/io/IOException;Ljdk/internal/net/http/AsyncEvent;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 2 0: aload 0
new jdk.internal.net.http.common.Pair
dup
aload 2
aload 1
invokespecial jdk.internal.net.http.common.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 e Ljdk/internal/net/http/AsyncEvent;
private static void lambda$3(jdk.internal.net.http.HttpClientImpl$SelectorAttachment, int);
descriptor: (Ljdk/internal/net/http/HttpClientImpl$SelectorAttachment;I)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorAttachment.resetInterestOps:(I)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$4(jdk.internal.net.http.AsyncEvent);
descriptor: (Ljdk/internal/net/http/AsyncEvent;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent:(Ljdk/internal/net/http/AsyncEvent;Ljava/io/IOException;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
0 1 1 e Ljdk/internal/net/http/AsyncEvent;
private void lambda$5(jdk.internal.net.http.common.Pair);
descriptor: (Ljdk/internal/net/http/common/Pair;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield jdk.internal.net.http.common.Pair.first:Ljava/lang/Object;
checkcast jdk.internal.net.http.AsyncEvent
aload 1
getfield jdk.internal.net.http.common.Pair.second:Ljava/lang/Object;
checkcast java.io.IOException
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent:(Ljdk/internal/net/http/AsyncEvent;Ljava/io/IOException;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
0 1 1 p Ljdk/internal/net/http/common/Pair<Ljdk/internal/net/http/AsyncEvent;Ljava/io/IOException;>;
private static void lambda$6(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Runnable.run:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Ljava/lang/Runnable;
}
SourceFile: "HttpClientImpl.java"
NestHost: jdk.internal.net.http.HttpClientImpl
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private SelectorAttachment = jdk.internal.net.http.HttpClientImpl$SelectorAttachment of jdk.internal.net.http.HttpClientImpl
private final SelectorManager = jdk.internal.net.http.HttpClientImpl$SelectorManager of jdk.internal.net.http.HttpClientImpl