class jdk.internal.net.http.Http2ClientImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.Http2ClientImpl
super_class: java.lang.Object
{
static final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final jdk.internal.net.http.HttpClientImpl client;
descriptor: Ljdk/internal/net/http/HttpClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, jdk.internal.net.http.Http2Connection> connections;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/net/http/Http2Connection;>;
private final java.util.Set<java.lang.String> failures;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final int K;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "Http2ClientImpl"
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
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;
java/lang/String.toString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
1: putstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.internal.net.http.HttpClientImpl);
descriptor: (Ljdk/internal/net/http/HttpClientImpl;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield jdk.internal.net.http.Http2ClientImpl.connections:Ljava/util/Map;
2: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield jdk.internal.net.http.Http2ClientImpl.failures:Ljava/util/Set;
3: aload 0
aload 1
putfield jdk.internal.net.http.Http2ClientImpl.client:Ljdk/internal/net/http/HttpClientImpl;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/Http2ClientImpl;
0 5 1 client Ljdk/internal/net/http/HttpClientImpl;
MethodParameters:
Name Flags
client
java.util.concurrent.CompletableFuture<jdk.internal.net.http.Http2Connection> getConnectionFor(jdk.internal.net.http.HttpRequestImpl, jdk.internal.net.http.Exchange<?>);
descriptor: (Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual jdk.internal.net.http.HttpRequestImpl.uri:()Ljava/net/URI;
astore 3
start local 3 1: aload 1
invokevirtual jdk.internal.net.http.HttpRequestImpl.proxy:()Ljava/net/InetSocketAddress;
astore 4
start local 4 2: aload 3
aload 4
invokestatic jdk.internal.net.http.Http2Connection.keyFor:(Ljava/net/URI;Ljava/net/InetSocketAddress;)Ljava/lang/String;
astore 5
start local 5 3: aload 0
dup
astore 6
monitorenter
4: aload 0
getfield jdk.internal.net.http.Http2ClientImpl.connections:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.net.http.Http2Connection
astore 7
start local 7 5: aload 7
ifnull 19
6: aload 7
getfield jdk.internal.net.http.Http2Connection.closed:Z
ifne 7
aload 7
iconst_1
invokevirtual jdk.internal.net.http.Http2Connection.reserveStream:(Z)Z
ifne 11
7: StackMap locals: jdk.internal.net.http.Http2ClientImpl jdk.internal.net.http.HttpRequestImpl jdk.internal.net.http.Exchange java.net.URI java.net.InetSocketAddress java.lang.String jdk.internal.net.http.Http2ClientImpl jdk.internal.net.http.Http2Connection
StackMap stack:
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 9
8: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "removing found closed or closing connection: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual jdk.internal.net.http.Http2ClientImpl.deleteConnection:(Ljdk/internal/net/http/Http2Connection;)V
10: goto 19
11: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 13
12: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "found connection in the pool: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 7
invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
14: aload 6
monitorexit
15: areturn
16: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 17: aload 8
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
aload 6
monitorexit
18: areturn
end local 8 19: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.internal.net.http.HttpRequestImpl.secure:()Z
ifeq 20
aload 0
getfield jdk.internal.net.http.Http2ClientImpl.failures:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 23
20: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 21
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "not found in connection pool"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aconst_null
invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
aload 6
monitorexit
22: areturn
end local 7 23: StackMap locals:
StackMap stack:
aload 6
monitorexit
24: goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
25: aload 6
monitorexit
26: athrow
27: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 2
invokestatic jdk.internal.net.http.Http2Connection.createAsync:(Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/Http2ClientImpl;Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
28: aload 0
aload 5
invokedynamic accept(Ljdk/internal/net/http/Http2ClientImpl;Ljava/lang/String;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
jdk/internal/net/http/Http2ClientImpl.lambda$1(Ljava/lang/String;Ljdk/internal/net/http/Http2Connection;Ljava/lang/Throwable;)V (7)
(Ljdk/internal/net/http/Http2Connection;Ljava/lang/Throwable;)V
invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
29: areturn
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 30 0 this Ljdk/internal/net/http/Http2ClientImpl;
0 30 1 req Ljdk/internal/net/http/HttpRequestImpl;
0 30 2 exchange Ljdk/internal/net/http/Exchange<*>;
1 30 3 uri Ljava/net/URI;
2 30 4 proxy Ljava/net/InetSocketAddress;
3 30 5 key Ljava/lang/String;
5 23 7 connection Ljdk/internal/net/http/Http2Connection;
17 19 8 e Ljava/io/IOException;
Exception table:
from to target type
6 14 16 Class java.io.IOException
4 15 25 any
16 18 25 any
19 22 25 any
23 24 25 any
25 26 25 any
Signature: (Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/Exchange<*>;)Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http2Connection;>;
MethodParameters:
Name Flags
req
exchange
boolean offerConnection(jdk.internal.net.http.Http2Connection);
descriptor: (Ljdk/internal/net/http/Http2Connection;)Z
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 1
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "offering to the connection pool: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
1: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.net.http.Http2Connection.closed:Z
ifne 2
aload 1
invokevirtual jdk.internal.net.http.Http2Connection.finalStream:()Z
ifeq 5
2: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 4
3: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "skipping offered closed or closing connection: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.internal.net.http.Http2Connection.key:()Ljava/lang/String;
astore 2
start local 2 6: aload 0
dup
astore 3
monitorenter
7: aload 0
getfield jdk.internal.net.http.Http2ClientImpl.connections:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.net.http.Http2Connection
astore 4
start local 4 8: aload 4
ifnull 14
9: aload 1
invokevirtual jdk.internal.net.http.Http2Connection.setFinalStream:()V
10: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 12
11: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "existing entry in connection pool for %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals: java.lang.String jdk.internal.net.http.Http2ClientImpl jdk.internal.net.http.Http2Connection
StackMap stack:
aload 3
monitorexit
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 16
15: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "put in the connection pool: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
aload 3
monitorexit
17: iconst_1
ireturn
end local 4 18: StackMap locals: jdk.internal.net.http.Http2ClientImpl jdk.internal.net.http.Http2Connection java.lang.String jdk.internal.net.http.Http2ClientImpl
StackMap stack: java.lang.Throwable
aload 3
monitorexit
19: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/internal/net/http/Http2ClientImpl;
0 20 1 c Ljdk/internal/net/http/Http2Connection;
6 20 2 key Ljava/lang/String;
8 18 4 c1 Ljdk/internal/net/http/Http2Connection;
Exception table:
from to target type
7 13 18 any
14 17 18 any
18 19 18 any
MethodParameters:
Name Flags
c
void deleteConnection(jdk.internal.net.http.Http2Connection);
descriptor: (Ljdk/internal/net/http/Http2Connection;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 2
1: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "removing from the connection pool: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
3: aload 0
getfield jdk.internal.net.http.Http2ClientImpl.connections:Ljava/util/Map;
aload 1
invokevirtual jdk.internal.net.http.Http2Connection.key:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.net.http.Http2Connection
astore 3
start local 3 4: aload 3
ifnull 8
aload 3
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
5: aload 0
getfield jdk.internal.net.http.Http2ClientImpl.connections:Ljava/util/Map;
aload 1
invokevirtual jdk.internal.net.http.Http2Connection.key:()Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 8
7: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "removed from the connection pool: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 3 8: StackMap locals: jdk.internal.net.http.Http2ClientImpl
StackMap stack:
aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/net/http/Http2ClientImpl;
0 13 1 c Ljdk/internal/net/http/Http2Connection;
4 8 3 c1 Ljdk/internal/net/http/Http2Connection;
Exception table:
from to target type
3 9 10 any
10 11 10 any
MethodParameters:
Name Flags
c
void stop();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 1
getstatic jdk.internal.net.http.Http2ClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "stopping"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http2ClientImpl.connections:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 0
invokedynamic accept(Ljdk/internal/net/http/Http2ClientImpl;)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/Http2ClientImpl.close(Ljdk/internal/net/http/Http2Connection;)V (7)
(Ljdk/internal/net/http/Http2Connection;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
2: aload 0
getfield jdk.internal.net.http.Http2ClientImpl.connections:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/Http2ClientImpl;
private void close(jdk.internal.net.http.Http2Connection);
descriptor: (Ljdk/internal/net/http/Http2Connection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.internal.net.http.Http2Connection.close:()V
1: goto 3
StackMap locals:
StackMap stack: java.lang.Throwable
2: pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/Http2ClientImpl;
0 4 1 h2c Ljdk/internal/net/http/Http2Connection;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
h2c
jdk.internal.net.http.HttpClientImpl client();
descriptor: ()Ljdk/internal/net/http/HttpClientImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http2ClientImpl.client:Ljdk/internal/net/http/HttpClientImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http2ClientImpl;
java.lang.String getSettingsString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.net.http.Http2ClientImpl.getClientSettings:()Ljdk/internal/net/http/frame/SettingsFrame;
astore 1
start local 1 1: aload 1
invokevirtual jdk.internal.net.http.frame.SettingsFrame.toByteArray:()[B
astore 2
start local 2 2: invokestatic java.util.Base64.getUrlEncoder:()Ljava/util/Base64$Encoder;
3: invokevirtual java.util.Base64$Encoder.withoutPadding:()Ljava/util/Base64$Encoder;
4: astore 3
start local 3 5: aload 3
aload 2
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/Http2ClientImpl;
1 6 1 sf Ljdk/internal/net/http/frame/SettingsFrame;
2 6 2 settings [B
5 6 3 encoder Ljava/util/Base64$Encoder;
private static int getParameter(java.lang.String, int, int, int);
descriptor: (Ljava/lang/String;III)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokestatic jdk.internal.net.http.common.Utils.getIntegerNetProperty:(Ljava/lang/String;I)I
istore 4
start local 4 1: iload 4
iload 1
if_icmplt 2
iload 4
iload 2
if_icmple 6
2: StackMap locals: int
StackMap stack:
ldc "Property value for {0}={1} not in [{2}..{3}]: using default={4}"
iconst_5
anewarray java.lang.Object
dup
iconst_0
3: aload 0
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokestatic jdk.internal.net.http.common.Log.logError:(Ljava/lang/String;[Ljava/lang/Object;)V
5: iload 3
istore 4
6: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 property Ljava/lang/String;
0 7 1 min I
0 7 2 max I
0 7 3 defaultValue I
1 7 4 value I
MethodParameters:
Name Flags
property
min
max
defaultValue
int getConnectionWindowSize(jdk.internal.net.http.frame.SettingsFrame);
descriptor: (Ljdk/internal/net/http/frame/SettingsFrame;)I
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
iconst_4
invokevirtual jdk.internal.net.http.frame.SettingsFrame.getParameter:(I)I
istore 2
start local 2 1: ldc 2147483647
2: iload 2
ldc 33554432
invokestatic java.lang.Math.max:(II)I
3: invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 4: ldc "jdk.httpclient.connectionWindowSize"
5: iload 2
ldc 2147483647
iload 3
6: invokestatic jdk.internal.net.http.Http2ClientImpl.getParameter:(Ljava/lang/String;III)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/Http2ClientImpl;
0 7 1 clientSettings Ljdk/internal/net/http/frame/SettingsFrame;
1 7 2 streamWindow I
4 7 3 defaultValue I
MethodParameters:
Name Flags
clientSettings
jdk.internal.net.http.frame.SettingsFrame getClientSettings();
descriptor: ()Ljdk/internal/net/http/frame/SettingsFrame;
flags: (0x0000)
Code:
stack=6, locals=2, args_size=1
start local 0 0: new jdk.internal.net.http.frame.SettingsFrame
dup
invokespecial jdk.internal.net.http.frame.SettingsFrame.<init>:()V
astore 1
start local 1 1: aload 1
iconst_1
2: ldc "jdk.httpclient.hpack.maxheadertablesize"
3: iconst_0
ldc 2147483647
sipush 16384
4: invokestatic jdk.internal.net.http.Http2ClientImpl.getParameter:(Ljava/lang/String;III)I
invokevirtual jdk.internal.net.http.frame.SettingsFrame.setParameter:(II)Ljdk/internal/net/http/frame/SettingsFrame;
pop
5: aload 1
iconst_2
6: ldc "jdk.httpclient.enablepush"
7: iconst_0
iconst_1
iconst_1
8: invokestatic jdk.internal.net.http.Http2ClientImpl.getParameter:(Ljava/lang/String;III)I
invokevirtual jdk.internal.net.http.frame.SettingsFrame.setParameter:(II)Ljdk/internal/net/http/frame/SettingsFrame;
pop
9: aload 1
iconst_3
10: ldc "jdk.httpclient.maxstreams"
11: iconst_1
ldc 2147483647
bipush 100
12: invokestatic jdk.internal.net.http.Http2ClientImpl.getParameter:(Ljava/lang/String;III)I
invokevirtual jdk.internal.net.http.frame.SettingsFrame.setParameter:(II)Ljdk/internal/net/http/frame/SettingsFrame;
pop
13: aload 1
iconst_4
14: ldc "jdk.httpclient.windowsize"
15: sipush 16384
ldc 2147483647
ldc 16777216
16: invokestatic jdk.internal.net.http.Http2ClientImpl.getParameter:(Ljava/lang/String;III)I
invokevirtual jdk.internal.net.http.frame.SettingsFrame.setParameter:(II)Ljdk/internal/net/http/frame/SettingsFrame;
pop
17: aload 1
iconst_5
18: ldc "jdk.httpclient.maxframesize"
19: sipush 16384
ldc 16777215
sipush 16384
20: invokestatic jdk.internal.net.http.Http2ClientImpl.getParameter:(Ljava/lang/String;III)I
invokevirtual jdk.internal.net.http.frame.SettingsFrame.setParameter:(II)Ljdk/internal/net/http/frame/SettingsFrame;
pop
21: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/internal/net/http/Http2ClientImpl;
1 22 1 frame Ljdk/internal/net/http/frame/SettingsFrame;
private void lambda$1(java.lang.String, jdk.internal.net.http.Http2Connection, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljdk/internal/net/http/Http2Connection;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 2 start local 3 0: aload 0
dup
astore 4
monitorenter
1: aload 2
ifnull 8
2: aload 2
iconst_1
invokevirtual jdk.internal.net.http.Http2Connection.reserveStream:(Z)Z
pop
3: goto 6
StackMap locals: jdk.internal.net.http.Http2ClientImpl java.lang.String jdk.internal.net.http.Http2Connection java.lang.Throwable jdk.internal.net.http.Http2ClientImpl
StackMap stack: java.io.IOException
4: astore 5
start local 5 5: new java.io.UncheckedIOException
dup
aload 5
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 5 6: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.internal.net.http.Http2ClientImpl.offerConnection:(Ljdk/internal/net/http/Http2Connection;)Z
pop
7: goto 11
8: StackMap locals:
StackMap stack:
aload 3
invokestatic jdk.internal.net.http.common.Utils.getCompletionCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 5
start local 5 9: aload 5
instanceof jdk.internal.net.http.Http2Connection$ALPNException
ifeq 11
10: aload 0
getfield jdk.internal.net.http.Http2ClientImpl.failures:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 11: StackMap locals:
StackMap stack:
aload 4
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 4
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/net/http/Http2ClientImpl;
0 16 2 conn Ljdk/internal/net/http/Http2Connection;
0 16 3 t Ljava/lang/Throwable;
5 6 5 e Ljava/io/IOException;
9 11 5 cause Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.io.IOException
1 12 13 any
13 14 13 any
}
SourceFile: "Http2ClientImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Encoder = java.util.Base64$Encoder of java.util.Base64
final ALPNException = jdk.internal.net.http.Http2Connection$ALPNException of jdk.internal.net.http.Http2Connection