final class jdk.internal.net.http.HttpClientImpl extends java.net.http.HttpClient implements jdk.internal.net.http.common.OperationTrackers$Trackable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.HttpClientImpl
super_class: java.net.http.HttpClient
{
static final boolean DEBUGELAPSED;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean DEBUGTIMEOUT;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0010) ACC_FINAL
final jdk.internal.net.http.common.Logger debugelapsed;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0010) ACC_FINAL
final jdk.internal.net.http.common.Logger debugtimeout;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0010) ACC_FINAL
static final java.util.concurrent.atomic.AtomicLong CLIENT_IDS;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.net.CookieHandler cookieHandler;
descriptor: Ljava/net/CookieHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.time.Duration connectTimeout;
descriptor: Ljava/time/Duration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.http.HttpClient$Redirect followRedirects;
descriptor: Ljava/net/http/HttpClient$Redirect;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Optional<java.net.ProxySelector> userProxySelector;
descriptor: Ljava/util/Optional;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Optional<Ljava/net/ProxySelector;>;
private final java.net.ProxySelector proxySelector;
descriptor: Ljava/net/ProxySelector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.Authenticator authenticator;
descriptor: Ljava/net/Authenticator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.http.HttpClient$Version version;
descriptor: Ljava/net/http/HttpClient$Version;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.ConnectionPool connections;
descriptor: Ljdk/internal/net/http/ConnectionPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.HttpClientImpl$DelegatingExecutor delegatingExecutor;
descriptor: Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isDefaultExecutor;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLContext sslContext;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLParameters sslParams;
descriptor: Ljavax/net/ssl/SSLParameters;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.HttpClientImpl$SelectorManager selmgr;
descriptor: Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.FilterFactory filters;
descriptor: Ljdk/internal/net/http/FilterFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.Http2ClientImpl client2;
descriptor: Ljdk/internal/net/http/Http2ClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long id;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String dbgTag;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.HttpClientImpl$SSLDirectBufferSupplier sslBufferSupplier;
descriptor: Ljdk/internal/net/http/HttpClientImpl$SSLDirectBufferSupplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ref.WeakReference<jdk.internal.net.http.HttpClientFacade> facadeRef;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljdk/internal/net/http/HttpClientFacade;>;
private final java.util.concurrent.atomic.AtomicLong pendingOperationCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong pendingWebSocketCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong pendingHttpRequestCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong pendingHttp2StreamCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.TreeSet<jdk.internal.net.http.TimeoutEvent> timeouts;
descriptor: Ljava/util/TreeSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/TreeSet<Ljdk/internal/net/http/TimeoutEvent;>;
private static final java.util.concurrent.Executor ASYNC_POOL;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=2, locals=0, 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.$assertionsDisabled:Z
3: getstatic jdk.internal.net.http.common.Utils.TESTING:Z
ifne 4
getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
ifne 4
iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: putstatic jdk.internal.net.http.HttpClientImpl.DEBUGELAPSED:Z
6: new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putstatic jdk.internal.net.http.HttpClientImpl.CLIENT_IDS:Ljava/util/concurrent/atomic/AtomicLong;
7: new java.util.concurrent.CompletableFuture
dup
invokespecial java.util.concurrent.CompletableFuture.<init>:()V
invokevirtual java.util.concurrent.CompletableFuture.defaultExecutor:()Ljava/util/concurrent/Executor;
putstatic jdk.internal.net.http.HttpClientImpl.ASYNC_POOL:Ljava/util/concurrent/Executor;
return
LocalVariableTable:
Start End Slot Name Signature
static jdk.internal.net.http.HttpClientFacade create(jdk.internal.net.http.HttpClientBuilderImpl);
descriptor: (Ljdk/internal/net/http/HttpClientBuilderImpl;)Ljdk/internal/net/http/HttpClientFacade;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory
dup
invokespecial jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory.<init>:()V
astore 1
start local 1 1: new jdk.internal.net.http.HttpClientImpl
dup
aload 0
aload 1
invokespecial jdk.internal.net.http.HttpClientImpl.<init>:(Ljdk/internal/net/http/HttpClientBuilderImpl;Ljdk/internal/net/http/HttpClientImpl$SingleFacadeFactory;)V
astore 2
start local 2 2: aload 2
invokevirtual jdk.internal.net.http.HttpClientImpl.start:()V
3: getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 4
aload 1
getfield jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory.facade:Ljdk/internal/net/http/HttpClientFacade;
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory jdk.internal.net.http.HttpClientImpl
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 5
aload 2
getfield jdk.internal.net.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
aload 1
getfield jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory.facade:Ljdk/internal/net/http/HttpClientFacade;
if_acmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory.facade:Ljdk/internal/net/http/HttpClientFacade;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 builder Ljdk/internal/net/http/HttpClientBuilderImpl;
1 6 1 facadeFactory Ljdk/internal/net/http/HttpClientImpl$SingleFacadeFactory;
2 6 2 impl Ljdk/internal/net/http/HttpClientImpl;
MethodParameters:
Name Flags
builder
private void <init>(jdk.internal.net.http.HttpClientBuilderImpl, jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory);
descriptor: (Ljdk/internal/net/http/HttpClientBuilderImpl;Ljdk/internal/net/http/HttpClientImpl$SingleFacadeFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.net.http.HttpClient.<init>:()V
1: aload 0
aload 0
invokedynamic get(Ljdk/internal/net/http/HttpClientImpl;)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;
jdk/internal/net/http/HttpClientImpl.dbgString()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;
putfield jdk.internal.net.http.HttpClientImpl.debug:Ljdk/internal/net/http/common/Logger;
2: aload 0
aload 0
invokedynamic get(Ljdk/internal/net/http/HttpClientImpl;)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;
jdk/internal/net/http/HttpClientImpl.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.internal.net.http.HttpClientImpl.DEBUGELAPSED:Z
invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
putfield jdk.internal.net.http.HttpClientImpl.debugelapsed:Ljdk/internal/net/http/common/Logger;
3: aload 0
aload 0
invokedynamic get(Ljdk/internal/net/http/HttpClientImpl;)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;
jdk/internal/net/http/HttpClientImpl.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
iconst_0
invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
putfield jdk.internal.net.http.HttpClientImpl.debugtimeout:Ljdk/internal/net/http/common/Logger;
4: aload 0
5: new jdk.internal.net.http.HttpClientImpl$SSLDirectBufferSupplier
dup
aload 0
invokespecial jdk.internal.net.http.HttpClientImpl$SSLDirectBufferSupplier.<init>:(Ljdk/internal/net/http/HttpClientImpl;)V
putfield jdk.internal.net.http.HttpClientImpl.sslBufferSupplier:Ljdk/internal/net/http/HttpClientImpl$SSLDirectBufferSupplier;
6: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
7: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
8: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
9: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl.pendingHttp2StreamCount:Ljava/util/concurrent/atomic/AtomicLong;
10: aload 0
getstatic jdk.internal.net.http.HttpClientImpl.CLIENT_IDS:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
putfield jdk.internal.net.http.HttpClientImpl.id:J
11: aload 0
new java.lang.StringBuilder
dup
ldc "HttpClientImpl("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.HttpClientImpl.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.internal.net.http.HttpClientImpl.dbgTag:Ljava/lang/String;
12: aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.sslContext:Ljavax/net/ssl/SSLContext;
ifnonnull 17
13: aload 0
invokestatic javax.net.ssl.SSLContext.getDefault:()Ljavax/net/ssl/SSLContext;
putfield jdk.internal.net.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
14: goto 18
StackMap locals: jdk.internal.net.http.HttpClientImpl jdk.internal.net.http.HttpClientBuilderImpl jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory
StackMap stack: java.security.NoSuchAlgorithmException
15: astore 3
start local 3 16: new java.lang.InternalError
dup
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 17: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.sslContext:Ljavax/net/ssl/SSLContext;
putfield jdk.internal.net.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
18: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.executor:Ljava/util/concurrent/Executor;
astore 3
start local 3 19: aload 3
ifnonnull 23
20: new jdk.internal.net.http.HttpClientImpl$DefaultThreadFactory
dup
aload 0
getfield jdk.internal.net.http.HttpClientImpl.id:J
invokespecial jdk.internal.net.http.HttpClientImpl$DefaultThreadFactory.<init>:(J)V
invokestatic java.util.concurrent.Executors.newCachedThreadPool:(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
astore 3
21: aload 0
iconst_1
putfield jdk.internal.net.http.HttpClientImpl.isDefaultExecutor:Z
22: goto 24
23: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 0
iconst_0
putfield jdk.internal.net.http.HttpClientImpl.isDefaultExecutor:Z
24: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.net.http.HttpClientImpl$DelegatingExecutor
dup
aload 0
invokedynamic getAsBoolean(Ljdk/internal/net/http/HttpClientImpl;)Ljava/util/function/BooleanSupplier;
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:
()Z
jdk/internal/net/http/HttpClientImpl.isSelectorThread()Z (5)
()Z
aload 3
invokespecial jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.<init>:(Ljava/util/function/BooleanSupplier;Ljava/util/concurrent/Executor;)V
putfield jdk.internal.net.http.HttpClientImpl.delegatingExecutor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
25: aload 0
new java.lang.ref.WeakReference
dup
aload 2
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory.createFacade:(Ljdk/internal/net/http/HttpClientImpl;)Ljdk/internal/net/http/HttpClientFacade;
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield jdk.internal.net.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
26: aload 0
new jdk.internal.net.http.Http2ClientImpl
dup
aload 0
invokespecial jdk.internal.net.http.Http2ClientImpl.<init>:(Ljdk/internal/net/http/HttpClientImpl;)V
putfield jdk.internal.net.http.HttpClientImpl.client2:Ljdk/internal/net/http/Http2ClientImpl;
27: aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.cookieHandler:Ljava/net/CookieHandler;
putfield jdk.internal.net.http.HttpClientImpl.cookieHandler:Ljava/net/CookieHandler;
28: aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.connectTimeout:Ljava/time/Duration;
putfield jdk.internal.net.http.HttpClientImpl.connectTimeout:Ljava/time/Duration;
29: aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.followRedirects:Ljava/net/http/HttpClient$Redirect;
ifnonnull 31
30: getstatic java.net.http.HttpClient$Redirect.NEVER:Ljava/net/http/HttpClient$Redirect;
goto 32
StackMap locals:
StackMap stack: jdk.internal.net.http.HttpClientImpl
31: aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.followRedirects:Ljava/net/http/HttpClient$Redirect;
32: StackMap locals: jdk.internal.net.http.HttpClientImpl jdk.internal.net.http.HttpClientBuilderImpl jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory java.util.concurrent.Executor
StackMap stack: jdk.internal.net.http.HttpClientImpl java.net.http.HttpClient$Redirect
putfield jdk.internal.net.http.HttpClientImpl.followRedirects:Ljava/net/http/HttpClient$Redirect;
33: aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.proxy:Ljava/net/ProxySelector;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
putfield jdk.internal.net.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
34: aload 0
aload 0
getfield jdk.internal.net.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
35: invokedynamic get()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;
jdk/internal/net/http/HttpClientImpl.getDefaultProxySelector()Ljava/net/ProxySelector; (6)
()Ljava/net/ProxySelector;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.net.ProxySelector
36: putfield jdk.internal.net.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
37: aload 0
getfield jdk.internal.net.http.HttpClientImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 41
38: aload 0
getfield jdk.internal.net.http.HttpClientImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "proxySelector is %s (user-supplied=%s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
39: aload 0
getfield jdk.internal.net.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.net.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
40: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
41: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.authenticator:Ljava/net/Authenticator;
putfield jdk.internal.net.http.HttpClientImpl.authenticator:Ljava/net/Authenticator;
42: aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.version:Ljava/net/http/HttpClient$Version;
ifnonnull 45
43: aload 0
getstatic java.net.http.HttpClient$Version.HTTP_2:Ljava/net/http/HttpClient$Version;
putfield jdk.internal.net.http.HttpClientImpl.version:Ljava/net/http/HttpClient$Version;
44: goto 46
45: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.version:Ljava/net/http/HttpClient$Version;
putfield jdk.internal.net.http.HttpClientImpl.version:Ljava/net/http/HttpClient$Version;
46: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.sslParams:Ljavax/net/ssl/SSLParameters;
ifnonnull 49
47: aload 0
aload 0
getfield jdk.internal.net.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
invokestatic jdk.internal.net.http.HttpClientImpl.getDefaultParams:(Ljavax/net/ssl/SSLContext;)Ljavax/net/ssl/SSLParameters;
putfield jdk.internal.net.http.HttpClientImpl.sslParams:Ljavax/net/ssl/SSLParameters;
48: goto 50
49: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.internal.net.http.HttpClientBuilderImpl.sslParams:Ljavax/net/ssl/SSLParameters;
putfield jdk.internal.net.http.HttpClientImpl.sslParams:Ljavax/net/ssl/SSLParameters;
50: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.net.http.ConnectionPool
dup
aload 0
getfield jdk.internal.net.http.HttpClientImpl.id:J
invokespecial jdk.internal.net.http.ConnectionPool.<init>:(J)V
putfield jdk.internal.net.http.HttpClientImpl.connections:Ljdk/internal/net/http/ConnectionPool;
51: aload 0
getfield jdk.internal.net.http.HttpClientImpl.connections:Ljdk/internal/net/http/ConnectionPool;
invokevirtual jdk.internal.net.http.ConnectionPool.start:()V
52: aload 0
new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
53: aload 0
new jdk.internal.net.http.HttpClientImpl$SelectorManager
dup
aload 0
invokespecial jdk.internal.net.http.HttpClientImpl$SelectorManager.<init>:(Ljdk/internal/net/http/HttpClientImpl;)V
putfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
54: goto 57
StackMap locals:
StackMap stack: java.io.IOException
55: astore 5
start local 5 56: new java.lang.InternalError
dup
aload 5
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 57: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
iconst_1
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.setDaemon:(Z)V
58: aload 0
new jdk.internal.net.http.FilterFactory
dup
invokespecial jdk.internal.net.http.FilterFactory.<init>:()V
putfield jdk.internal.net.http.HttpClientImpl.filters:Ljdk/internal/net/http/FilterFactory;
59: aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.initFilters:()V
60: getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 61
aload 0
getfield jdk.internal.net.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
ifnonnull 61
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
61: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 62 0 this Ljdk/internal/net/http/HttpClientImpl;
0 62 1 builder Ljdk/internal/net/http/HttpClientBuilderImpl;
0 62 2 facadeFactory Ljdk/internal/net/http/HttpClientImpl$SingleFacadeFactory;
16 17 3 ex Ljava/security/NoSuchAlgorithmException;
19 62 3 ex Ljava/util/concurrent/Executor;
56 57 5 e Ljava/io/IOException;
Exception table:
from to target type
13 14 15 Class java.security.NoSuchAlgorithmException
53 54 55 Class java.io.IOException
MethodParameters:
Name Flags
builder
facadeFactory
private void start();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.start:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl;
private void stop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.connections:Ljdk/internal/net/http/ConnectionPool;
invokevirtual jdk.internal.net.http.ConnectionPool.stop:()V
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.client2:Ljdk/internal/net/http/Http2ClientImpl;
invokevirtual jdk.internal.net.http.Http2ClientImpl.stop:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/HttpClientImpl;
private static javax.net.ssl.SSLParameters getDefaultParams(javax.net.ssl.SSLContext);
descriptor: (Ljavax/net/ssl/SSLContext;)Ljavax/net/ssl/SSLParameters;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual javax.net.ssl.SSLContext.getSupportedSSLParameters:()Ljavax/net/ssl/SSLParameters;
astore 1
start local 1 1: aload 1
invokevirtual javax.net.ssl.SSLParameters.getProtocols:()[Ljava/lang/String;
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: javax.net.ssl.SSLContext javax.net.ssl.SSLParameters java.lang.String[] int top int int java.lang.String[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 4
ldc "TLSv1.3"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: iconst_1
istore 3
7: goto 10
end local 4 8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 4
10: StackMap locals: javax.net.ssl.SSLContext javax.net.ssl.SSLParameters java.lang.String[] int
StackMap stack:
iload 3
ifeq 12
11: aload 1
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "TLSv1.3"
aastore
dup
iconst_1
ldc "TLSv1.2"
aastore
invokevirtual javax.net.ssl.SSLParameters.setProtocols:([Ljava/lang/String;)V
goto 13
12: StackMap locals:
StackMap stack:
aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "TLSv1.2"
aastore
invokevirtual javax.net.ssl.SSLParameters.setProtocols:([Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 ctx Ljavax/net/ssl/SSLContext;
1 14 1 params Ljavax/net/ssl/SSLParameters;
2 14 2 protocols [Ljava/lang/String;
3 14 3 found13 Z
5 8 4 proto Ljava/lang/String;
MethodParameters:
Name Flags
ctx
private static java.net.ProxySelector getDefaultProxySelector();
descriptor: ()Ljava/net/ProxySelector;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
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/net/ProxySelector.getDefault()Ljava/net/ProxySelector; (6)
()Ljava/net/ProxySelector;
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.ProxySelector
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 action Ljava/security/PrivilegedAction<Ljava/net/ProxySelector;>;
final jdk.internal.net.http.HttpClientFacade facade();
descriptor: ()Ljdk/internal/net/http/HttpClientFacade;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast jdk.internal.net.http.HttpClientFacade
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
final long reference();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl;
final long unreference();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 1
start local 1 1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 3
start local 3 2: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttp2StreamCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 5
start local 5 3: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 7
start local 7 4: lload 1
lconst_0
lcmp
ifne 6
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.facade:()Ljdk/internal/net/http/HttpClientFacade;
ifnonnull 6
5: aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.wakeupSelector:()V
6: StackMap locals: jdk.internal.net.http.HttpClientImpl long long long long
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 7
lload 3
lconst_0
lcmp
ifge 7
new java.lang.AssertionError
dup
ldc "count of HTTP/1.1 operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 8
lload 5
lconst_0
lcmp
ifge 8
new java.lang.AssertionError
dup
ldc "count of HTTP/2 operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 9
lload 7
lconst_0
lcmp
ifge 9
new java.lang.AssertionError
dup
ldc "count of WS operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 10
lload 1
lconst_0
lcmp
ifge 10
new java.lang.AssertionError
dup
ldc "count of pending operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/net/http/HttpClientImpl;
1 11 1 count J
2 11 3 httpCount J
3 11 5 http2Count J
4 11 7 webSocketCount J
final long streamReference();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttp2StreamCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl;
final long streamUnreference();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 1
start local 1 1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttp2StreamCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 3
start local 3 2: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 5
start local 5 3: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 7
start local 7 4: lload 1
lconst_0
lcmp
ifne 6
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.facade:()Ljdk/internal/net/http/HttpClientFacade;
ifnonnull 6
5: aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.wakeupSelector:()V
6: StackMap locals: jdk.internal.net.http.HttpClientImpl long long long long
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 7
lload 5
lconst_0
lcmp
ifge 7
new java.lang.AssertionError
dup
ldc "count of HTTP/1.1 operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 8
lload 3
lconst_0
lcmp
ifge 8
new java.lang.AssertionError
dup
ldc "count of HTTP/2 operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 9
lload 7
lconst_0
lcmp
ifge 9
new java.lang.AssertionError
dup
ldc "count of WS operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 10
lload 1
lconst_0
lcmp
ifge 10
new java.lang.AssertionError
dup
ldc "count of pending operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/net/http/HttpClientImpl;
1 11 1 count J
2 11 3 http2Count J
3 11 5 httpCount J
4 11 7 webSocketCount J
final long webSocketOpen();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl;
final long webSocketClose();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 1
start local 1 1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 3
start local 3 2: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 5
start local 5 3: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttp2StreamCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 7
start local 7 4: lload 1
lconst_0
lcmp
ifne 6
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.facade:()Ljdk/internal/net/http/HttpClientFacade;
ifnonnull 6
5: aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.wakeupSelector:()V
6: StackMap locals: jdk.internal.net.http.HttpClientImpl long long long long
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 7
lload 5
lconst_0
lcmp
ifge 7
new java.lang.AssertionError
dup
ldc "count of HTTP/1.1 operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 8
lload 7
lconst_0
lcmp
ifge 8
new java.lang.AssertionError
dup
ldc "count of HTTP/2 operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 9
lload 3
lconst_0
lcmp
ifge 9
new java.lang.AssertionError
dup
ldc "count of WS operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 10
lload 1
lconst_0
lcmp
ifge 10
new java.lang.AssertionError
dup
ldc "count of pending operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/net/http/HttpClientImpl;
1 11 1 count J
2 11 3 webSocketCount J
3 11 5 httpCount J
4 11 7 http2Count J
final long referenceCount();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public jdk.internal.net.http.common.OperationTrackers$Tracker getOperationsTracker();
descriptor: ()Ljdk/internal/net/http/common/OperationTrackers$Tracker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new jdk.internal.net.http.HttpClientImpl$HttpClientTracker
dup
aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingHttp2StreamCount:Ljava/util/concurrent/atomic/AtomicLong;
2: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
getfield jdk.internal.net.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
4: aload 0
getfield jdk.internal.net.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
5: aload 0
getfield jdk.internal.net.http.HttpClientImpl.dbgTag:Ljava/lang/String;
6: invokespecial jdk.internal.net.http.HttpClientImpl$HttpClientTracker.<init>:(Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/ref/Reference;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/HttpClientImpl;
final boolean isReferenced();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.facade:()Ljdk/internal/net/http/HttpClientFacade;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.referenceCount:()J
lconst_0
lcmp
ifgt 2
iconst_0
ireturn
StackMap locals: java.net.http.HttpClient
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/HttpClientImpl;
1 3 1 facade Ljava/net/http/HttpClient;
void registerEvent(jdk.internal.net.http.AsyncEvent);
descriptor: (Ljdk/internal/net/http/AsyncEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
aload 1
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.register:(Ljdk/internal/net/http/AsyncEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl;
0 2 1 exchange Ljdk/internal/net/http/AsyncEvent;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
exchange
void eventUpdated(jdk.internal.net.http.AsyncEvent);
descriptor: (Ljdk/internal/net/http/AsyncEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.HttpClientImpl.$assertionsDisabled:Z
ifne 1
aload 1
instanceof jdk.internal.net.http.AsyncTriggerEvent
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
aload 1
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.eventUpdated:(Ljdk/internal/net/http/AsyncEvent;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/HttpClientImpl;
0 3 1 event Ljdk/internal/net/http/AsyncEvent;
Exceptions:
throws java.nio.channels.ClosedChannelException
MethodParameters:
Name Flags
event
boolean isSelectorThread();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl;
jdk.internal.net.http.Http2ClientImpl client2();
descriptor: ()Ljdk/internal/net/http/Http2ClientImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.client2:Ljdk/internal/net/http/Http2ClientImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
private void debugCompleted(java.lang.String, long, java.net.http.HttpRequest);
descriptor: (Ljava/lang/String;JLjava/net/http/HttpRequest;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.debugelapsed:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 6
1: aload 0
getfield jdk.internal.net.http.HttpClientImpl.debugelapsed:Ljdk/internal/net/http/common/Logger;
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
ldc " elapsed "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokestatic java.lang.System.nanoTime:()J
lload 2
lsub
ldc 1000000
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
3: ldc " millis for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.net.http.HttpRequest.method:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.net.http.HttpRequest.uri:()Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/HttpClientImpl;
0 7 1 tag Ljava/lang/String;
0 7 2 startNanos J
0 7 4 req Ljava/net/http/HttpRequest;
MethodParameters:
Name Flags
tag
startNanos
req
public <T> java.net.http.HttpResponse<T> send(java.net.http.HttpRequest, java.net.http.HttpResponse$BodyHandler<T>);
descriptor: (Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler;)Ljava/net/http/HttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
aload 1
aload 2
aconst_null
aconst_null
invokevirtual jdk.internal.net.http.HttpClientImpl.sendAsync:(Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler;Ljava/net/http/HttpResponse$PushPromiseHandler;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
astore 3
2: aload 3
invokevirtual java.util.concurrent.CompletableFuture.get:()Ljava/lang/Object;
checkcast java.net.http.HttpResponse
3: areturn
4: StackMap locals: jdk.internal.net.http.HttpClientImpl java.net.http.HttpRequest java.net.http.HttpResponse$BodyHandler java.util.concurrent.CompletableFuture
StackMap stack: java.lang.InterruptedException
astore 4
start local 4 5: aload 3
ifnull 7
6: aload 3
iconst_1
invokevirtual java.util.concurrent.CompletableFuture.cancel:(Z)Z
pop
7: StackMap locals: java.lang.InterruptedException
StackMap stack:
aload 4
athrow
end local 4 8: StackMap locals: jdk.internal.net.http.HttpClientImpl java.net.http.HttpRequest java.net.http.HttpResponse$BodyHandler java.util.concurrent.CompletableFuture
StackMap stack: java.util.concurrent.ExecutionException
astore 4
start local 4 9: aload 4
invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
astore 5
start local 5 10: aload 5
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 6
start local 6 11: aload 5
instanceof java.lang.IllegalArgumentException
ifeq 13
12: new java.lang.IllegalArgumentException
dup
aload 6
aload 5
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
13: StackMap locals: java.util.concurrent.ExecutionException java.lang.Throwable java.lang.String
StackMap stack:
aload 5
instanceof java.lang.SecurityException
ifeq 15
14: new java.lang.SecurityException
dup
aload 6
aload 5
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
15: StackMap locals:
StackMap stack:
aload 5
instanceof java.net.http.HttpConnectTimeoutException
ifeq 19
16: new java.net.http.HttpConnectTimeoutException
dup
aload 6
invokespecial java.net.http.HttpConnectTimeoutException.<init>:(Ljava/lang/String;)V
astore 7
start local 7 17: aload 7
aload 5
invokevirtual java.net.http.HttpConnectTimeoutException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
18: aload 7
athrow
end local 7 19: StackMap locals:
StackMap stack:
aload 5
instanceof java.net.http.HttpTimeoutException
ifeq 21
20: new java.net.http.HttpTimeoutException
dup
aload 6
invokespecial java.net.http.HttpTimeoutException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 5
instanceof java.net.ConnectException
ifeq 25
22: new java.net.ConnectException
dup
aload 6
invokespecial java.net.ConnectException.<init>:(Ljava/lang/String;)V
astore 7
start local 7 23: aload 7
aload 5
invokevirtual java.net.ConnectException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
24: aload 7
athrow
end local 7 25: StackMap locals:
StackMap stack:
aload 5
instanceof java.io.IOException
ifeq 27
26: new java.io.IOException
dup
aload 6
aload 5
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
27: StackMap locals:
StackMap stack:
new java.io.IOException
dup
aload 6
aload 5
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 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 28 0 this Ljdk/internal/net/http/HttpClientImpl;
0 28 1 req Ljava/net/http/HttpRequest;
0 28 2 responseHandler Ljava/net/http/HttpResponse$BodyHandler<TT;>;
1 28 3 cf Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
5 8 4 ie Ljava/lang/InterruptedException;
9 28 4 e Ljava/util/concurrent/ExecutionException;
10 28 5 throwable Ljava/lang/Throwable;
11 28 6 msg Ljava/lang/String;
17 19 7 hcte Ljava/net/http/HttpConnectTimeoutException;
23 25 7 ce Ljava/net/ConnectException;
Exception table:
from to target type
1 3 4 Class java.lang.InterruptedException
1 3 8 Class java.util.concurrent.ExecutionException
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
Signature: <T:Ljava/lang/Object;>(Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler<TT;>;)Ljava/net/http/HttpResponse<TT;>;
MethodParameters:
Name Flags
req
responseHandler
public <T> java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<T>> sendAsync(java.net.http.HttpRequest, java.net.http.HttpResponse$BodyHandler<T>);
descriptor: (Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual jdk.internal.net.http.HttpClientImpl.sendAsync:(Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler;Ljava/net/http/HttpResponse$PushPromiseHandler;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
0 1 1 userRequest Ljava/net/http/HttpRequest;
0 1 2 responseHandler Ljava/net/http/HttpResponse$BodyHandler<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler<TT;>;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
userRequest
responseHandler
public <T> java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<T>> sendAsync(java.net.http.HttpRequest, java.net.http.HttpResponse$BodyHandler<T>, java.net.http.HttpResponse$PushPromiseHandler<T>);
descriptor: (Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler;Ljava/net/http/HttpResponse$PushPromiseHandler;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aload 0
getfield jdk.internal.net.http.HttpClientImpl.delegatingExecutor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
getfield jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.delegate:Ljava/util/concurrent/Executor;
invokevirtual jdk.internal.net.http.HttpClientImpl.sendAsync:(Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler;Ljava/net/http/HttpResponse$PushPromiseHandler;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
0 1 1 userRequest Ljava/net/http/HttpRequest;
0 1 2 responseHandler Ljava/net/http/HttpResponse$BodyHandler<TT;>;
0 1 3 pushPromiseHandler Ljava/net/http/HttpResponse$PushPromiseHandler<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler<TT;>;Ljava/net/http/HttpResponse$PushPromiseHandler<TT;>;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
userRequest
responseHandler
pushPromiseHandler
private <T> java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<T>> sendAsync(java.net.http.HttpRequest, java.net.http.HttpResponse$BodyHandler<T>, java.net.http.HttpResponse$PushPromiseHandler<T>, java.util.concurrent.Executor);
descriptor: (Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler;Ljava/net/http/HttpResponse$PushPromiseHandler;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aconst_null
astore 5
start local 5 3: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 5
4: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 5
5: StackMap locals: java.security.AccessControlContext
StackMap stack:
new jdk.internal.net.http.HttpRequestImpl
dup
aload 1
aload 0
getfield jdk.internal.net.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
invokespecial jdk.internal.net.http.HttpRequestImpl.<init>:(Ljava/net/http/HttpRequest;Ljava/net/ProxySelector;)V
astore 6
start local 6 6: aload 6
invokevirtual jdk.internal.net.http.HttpRequestImpl.method:()Ljava/lang/String;
ldc "CONNECT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: new java.lang.IllegalArgumentException
dup
ldc "Unsupported method CONNECT"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: jdk.internal.net.http.HttpRequestImpl
StackMap stack:
getstatic jdk.internal.net.http.HttpClientImpl.DEBUGELAPSED:Z
ifeq 9
invokestatic java.lang.System.nanoTime:()J
goto 10
StackMap locals:
StackMap stack:
9: lconst_0
StackMap locals:
StackMap stack: long
10: lstore 7
start local 7 11: aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.reference:()J
pop2
12: aload 0
getfield jdk.internal.net.http.HttpClientImpl.debugelapsed:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 14
13: aload 0
getfield jdk.internal.net.http.HttpClientImpl.debugelapsed:Ljdk/internal/net/http/common/Logger;
ldc "ClientImpl (async) send %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
14: StackMap locals: long
StackMap stack:
aload 4
ifnonnull 16
15: aload 0
getfield jdk.internal.net.http.HttpClientImpl.delegatingExecutor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
goto 17
StackMap locals:
StackMap stack:
16: aload 4
17: StackMap locals:
StackMap stack: java.util.concurrent.Executor
astore 9
start local 9 18: new jdk.internal.net.http.MultiExchange
dup
aload 1
19: aload 6
20: aload 0
21: aload 2
22: aload 3
23: aload 5
24: invokespecial jdk.internal.net.http.MultiExchange.<init>:(Ljava/net/http/HttpRequest;Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/HttpClientImpl;Ljava/net/http/HttpResponse$BodyHandler;Ljava/net/http/HttpResponse$PushPromiseHandler;Ljava/security/AccessControlContext;)V
astore 10
start local 10 25: aload 10
aload 9
invokevirtual jdk.internal.net.http.MultiExchange.responseAsync:(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
aload 0
invokedynamic accept(Ljdk/internal/net/http/HttpClientImpl;)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/HttpClientImpl.lambda$6(Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V (7)
(Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V
invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
26: astore 11
start local 11 27: getstatic jdk.internal.net.http.HttpClientImpl.DEBUGELAPSED:Z
ifeq 31
28: aload 11
29: aload 0
lload 7
aload 1
invokedynamic accept(Ljdk/internal/net/http/HttpClientImpl;JLjava/net/http/HttpRequest;)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/HttpClientImpl.lambda$7(JLjava/net/http/HttpRequest;Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V (7)
(Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V
30: invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
astore 11
31: StackMap locals: java.util.concurrent.Executor jdk.internal.net.http.MultiExchange java.util.concurrent.CompletableFuture
StackMap stack:
aload 4
ifnull 33
32: aload 11
invokedynamic accept()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/HttpClientImpl.lambda$8(Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V (6)
(Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V
getstatic jdk.internal.net.http.HttpClientImpl.ASYNC_POOL:Ljava/util/concurrent/Executor;
invokevirtual java.util.concurrent.CompletableFuture.whenCompleteAsync:(Ljava/util/function/BiConsumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
astore 11
33: StackMap locals:
StackMap stack:
aload 11
34: areturn
end local 11 end local 10 end local 9 35: StackMap locals: jdk.internal.net.http.HttpClientImpl java.net.http.HttpRequest java.net.http.HttpResponse$BodyHandler java.net.http.HttpResponse$PushPromiseHandler java.util.concurrent.Executor java.security.AccessControlContext jdk.internal.net.http.HttpRequestImpl long
StackMap stack: java.lang.Throwable
astore 9
start local 9 36: aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.unreference:()J
pop2
37: aload 0
ldc "ClientImpl (async)"
lload 7
aload 1
invokevirtual jdk.internal.net.http.HttpClientImpl.debugCompleted:(Ljava/lang/String;JLjava/net/http/HttpRequest;)V
38: aload 9
athrow
end local 9 end local 7 end local 6 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 39 0 this Ljdk/internal/net/http/HttpClientImpl;
0 39 1 userRequest Ljava/net/http/HttpRequest;
0 39 2 responseHandler Ljava/net/http/HttpResponse$BodyHandler<TT;>;
0 39 3 pushPromiseHandler Ljava/net/http/HttpResponse$PushPromiseHandler<TT;>;
0 39 4 exchangeExecutor Ljava/util/concurrent/Executor;
3 39 5 acc Ljava/security/AccessControlContext;
6 39 6 requestImpl Ljdk/internal/net/http/HttpRequestImpl;
11 39 7 start J
18 35 9 executor Ljava/util/concurrent/Executor;
25 35 10 mex Ljdk/internal/net/http/MultiExchange<TT;>;
27 35 11 res Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
36 39 9 t Ljava/lang/Throwable;
Exception table:
from to target type
12 34 35 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/net/http/HttpRequest;Ljava/net/http/HttpResponse$BodyHandler<TT;>;Ljava/net/http/HttpResponse$PushPromiseHandler<TT;>;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
userRequest
responseHandler
pushPromiseHandler
exchangeExecutor
final java.lang.String debugInterestOps(java.nio.channels.SelectableChannel);
descriptor: (Ljava/nio/channels/SelectableChannel;)Ljava/lang/String;
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
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 1: aload 2
ifnonnull 3
2: ldc "channel not registered with selector"
areturn
3: StackMap locals: java.nio.channels.SelectionKey
StackMap stack:
aload 2
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 5
4: new java.lang.StringBuilder
dup
ldc "key.interestOps="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.nio.channels.SelectionKey.interestOps:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 6
StackMap locals:
StackMap stack:
5: ldc "invalid key"
6: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 7: ldc "channel registered with selector, %s, sa.interestOps=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: aload 3
aastore
dup
iconst_1
9: aload 2
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
checkcast jdk.internal.net.http.HttpClientImpl$SelectorAttachment
getfield jdk.internal.net.http.HttpClientImpl$SelectorAttachment.interestOps:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: areturn
end local 3 end local 2 12: StackMap locals: jdk.internal.net.http.HttpClientImpl java.nio.channels.SelectableChannel
StackMap stack: java.lang.Throwable
astore 2
start local 2 13: aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/net/http/HttpClientImpl;
0 14 1 channel Ljava/nio/channels/SelectableChannel;
1 12 2 key Ljava/nio/channels/SelectionKey;
7 12 3 keyInterestOps Ljava/lang/String;
13 14 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 2 12 Class java.lang.Throwable
3 11 12 Class java.lang.Throwable
MethodParameters:
Name Flags
channel
javax.net.ssl.SSLContext theSSLContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public javax.net.ssl.SSLContext sslContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public javax.net.ssl.SSLParameters sslParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.sslParams:Ljavax/net/ssl/SSLParameters;
invokestatic jdk.internal.net.http.common.Utils.copySSLParameters:(Ljavax/net/ssl/SSLParameters;)Ljavax/net/ssl/SSLParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public java.util.Optional<java.net.Authenticator> authenticator();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.authenticator:Ljava/net/Authenticator;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/net/Authenticator;>;
final jdk.internal.net.http.HttpClientImpl$DelegatingExecutor theExecutor();
descriptor: ()Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.delegatingExecutor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public final java.util.Optional<java.util.concurrent.Executor> executor();
descriptor: ()Ljava/util/Optional;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.isDefaultExecutor:Z
ifeq 2
1: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl.delegatingExecutor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
invokevirtual jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.delegate:()Ljava/util/concurrent/Executor;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
3: StackMap locals:
StackMap stack: java.util.Optional
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/util/concurrent/Executor;>;
jdk.internal.net.http.ConnectionPool connectionPool();
descriptor: ()Ljdk/internal/net/http/ConnectionPool;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.connections:Ljdk/internal/net/http/ConnectionPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public java.net.http.HttpClient$Redirect followRedirects();
descriptor: ()Ljava/net/http/HttpClient$Redirect;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.followRedirects:Ljava/net/http/HttpClient$Redirect;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public java.util.Optional<java.net.CookieHandler> cookieHandler();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.cookieHandler:Ljava/net/CookieHandler;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/net/CookieHandler;>;
public java.util.Optional<java.time.Duration> connectTimeout();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.connectTimeout:Ljava/time/Duration;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/time/Duration;>;
public java.util.Optional<java.net.ProxySelector> proxy();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/net/ProxySelector;>;
java.net.ProxySelector proxySelector();
descriptor: ()Ljava/net/ProxySelector;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public java.net.http.WebSocket$Builder newWebSocketBuilder();
descriptor: ()Ljava/net/http/WebSocket$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.internal.net.http.websocket.BuilderImpl
dup
aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.facade:()Ljdk/internal/net/http/HttpClientFacade;
aload 0
getfield jdk.internal.net.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
invokespecial jdk.internal.net.http.websocket.BuilderImpl.<init>:(Ljava/net/http/HttpClient;Ljava/net/ProxySelector;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public java.net.http.HttpClient$Version version();
descriptor: ()Ljava/net/http/HttpClient$Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.version:Ljava/net/http/HttpClient$Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
java.lang.String dbgString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.dbgTag:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.net.http.HttpClientImpl.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
private void initFilters();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljdk/internal/net/http/AuthenticationFilter;
invokevirtual jdk.internal.net.http.HttpClientImpl.addFilter:(Ljava/lang/Class;)V
1: aload 0
ldc Ljdk/internal/net/http/RedirectFilter;
invokevirtual jdk.internal.net.http.HttpClientImpl.addFilter:(Ljava/lang/Class;)V
2: aload 0
getfield jdk.internal.net.http.HttpClientImpl.cookieHandler:Ljava/net/CookieHandler;
ifnull 4
3: aload 0
ldc Ljdk/internal/net/http/CookieFilter;
invokevirtual jdk.internal.net.http.HttpClientImpl.addFilter:(Ljava/lang/Class;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/HttpClientImpl;
private void addFilter(java.lang.Class<? extends jdk.internal.net.http.HeaderFilter>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.filters:Ljdk/internal/net/http/FilterFactory;
aload 1
invokevirtual jdk.internal.net.http.FilterFactory.addFilter:(Ljava/lang/Class;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/HttpClientImpl;
0 2 1 f Ljava/lang/Class<+Ljdk/internal/net/http/HeaderFilter;>;
Signature: (Ljava/lang/Class<+Ljdk/internal/net/http/HeaderFilter;>;)V
MethodParameters:
Name Flags
f
final java.util.LinkedList<jdk.internal.net.http.HeaderFilter> filterChain();
descriptor: ()Ljava/util/LinkedList;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.filters:Ljdk/internal/net/http/FilterFactory;
invokevirtual jdk.internal.net.http.FilterFactory.getFilterChain:()Ljava/util/LinkedList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
Signature: ()Ljava/util/LinkedList<Ljdk/internal/net/http/HeaderFilter;>;
synchronized void registerTimer(jdk.internal.net.http.TimeoutEvent);
descriptor: (Ljdk/internal/net/http/TimeoutEvent;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "Registering timer {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
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.timeouts:Ljava/util/TreeSet;
aload 1
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield jdk.internal.net.http.HttpClientImpl.selmgr:Ljdk/internal/net/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.internal.net.http.HttpClientImpl$SelectorManager.wakeupSelector:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/HttpClientImpl;
0 4 1 event Ljdk/internal/net/http/TimeoutEvent;
MethodParameters:
Name Flags
event
synchronized void cancelTimer(jdk.internal.net.http.TimeoutEvent);
descriptor: (Ljdk/internal/net/http/TimeoutEvent;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "Canceling timer {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
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.timeouts:Ljava/util/TreeSet;
aload 1
invokevirtual java.util.TreeSet.remove:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/HttpClientImpl;
0 3 1 event Ljdk/internal/net/http/TimeoutEvent;
MethodParameters:
Name Flags
event
private long purgeTimeoutsAndReturnNextDeadline();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aconst_null
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 0
dup
astore 5
monitorenter
4: aload 0
getfield jdk.internal.net.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.isEmpty:()Z
ifeq 6
aload 5
monitorexit
5: lconst_0
lreturn
6: StackMap locals: jdk.internal.net.http.HttpClientImpl long java.util.List int jdk.internal.net.http.HttpClientImpl
StackMap stack:
invokestatic java.time.Instant.now:()Ljava/time/Instant;
astore 6
start local 6 7: aload 0
getfield jdk.internal.net.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.iterator:()Ljava/util/Iterator;
astore 7
start local 7 8: goto 17
9: StackMap locals: java.time.Instant java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.TimeoutEvent
astore 8
start local 8 10: aload 6
aload 8
invokevirtual jdk.internal.net.http.TimeoutEvent.deadline:()Ljava/time/Instant;
getstatic java.time.temporal.ChronoUnit.MILLIS:Ljava/time/temporal/ChronoUnit;
invokevirtual java.time.Instant.until:(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J
lstore 1
11: lload 1
lconst_0
lcmp
ifgt 18
12: aload 7
invokeinterface java.util.Iterator.remove:()V
13: aload 3
ifnonnull 14
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 15
StackMap locals: jdk.internal.net.http.TimeoutEvent
StackMap stack:
14: aload 3
StackMap locals:
StackMap stack: java.util.List
15: astore 3
16: aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 17: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.size:()I
istore 4
end local 7 end local 6 19: aload 5
monitorexit
20: goto 23
StackMap locals: jdk.internal.net.http.HttpClientImpl long java.util.List int jdk.internal.net.http.HttpClientImpl
StackMap stack: java.lang.Throwable
21: aload 5
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
aload 3
ifnull 31
invokestatic jdk.internal.net.http.common.Log.trace:()Z
ifeq 31
24: new java.lang.StringBuilder
dup
ldc "purgeTimeoutsAndReturnNextDeadline: handling "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: aload 3
invokeinterface java.util.List.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " events, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: ldc "remaining "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
27: ldc ", next deadline: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
lconst_0
lcmp
ifge 28
lconst_0
goto 29
StackMap locals:
StackMap stack: java.lang.StringBuilder
28: lload 1
StackMap locals: jdk.internal.net.http.HttpClientImpl long java.util.List int
StackMap stack: java.lang.StringBuilder long
29: invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
31: StackMap locals:
StackMap stack:
aload 3
ifnull 45
32: aconst_null
astore 5
start local 5 33: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 42
StackMap locals: jdk.internal.net.http.HttpClientImpl long java.util.List int java.lang.Throwable top java.util.Iterator
StackMap stack:
34: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.TimeoutEvent
astore 6
start local 6 35: ldc "Firing timer {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
36: aload 6
invokevirtual jdk.internal.net.http.TimeoutEvent.handle:()V
37: goto 42
StackMap locals: jdk.internal.net.http.HttpClientImpl long java.util.List int java.lang.Throwable jdk.internal.net.http.TimeoutEvent java.util.Iterator
StackMap stack: java.lang.Throwable
38: astore 8
start local 8 39: aload 5
ifnonnull 40
aload 8
astore 5
goto 41
40: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
41: StackMap locals:
StackMap stack:
ldc "Failed to handle event {0}: {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 8
aastore
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 8 end local 6 42: StackMap locals: jdk.internal.net.http.HttpClientImpl long java.util.List int java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
43: aload 5
instanceof java.lang.Error
ifeq 44
aload 5
checkcast java.lang.Error
athrow
44: StackMap locals: jdk.internal.net.http.HttpClientImpl long java.util.List int java.lang.Throwable
StackMap stack:
aload 5
instanceof java.lang.RuntimeException
ifeq 45
aload 5
checkcast java.lang.RuntimeException
athrow
end local 5 45: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifge 46
lconst_0
goto 47
StackMap locals:
StackMap stack:
46: lload 1
StackMap locals:
StackMap stack: long
47: lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Ljdk/internal/net/http/HttpClientImpl;
1 48 1 diff J
2 48 3 toHandle Ljava/util/List<Ljdk/internal/net/http/TimeoutEvent;>;
3 48 4 remaining I
7 19 6 now Ljava/time/Instant;
8 19 7 itr Ljava/util/Iterator<Ljdk/internal/net/http/TimeoutEvent;>;
10 17 8 event Ljdk/internal/net/http/TimeoutEvent;
33 45 5 failed Ljava/lang/Throwable;
35 42 6 event Ljdk/internal/net/http/TimeoutEvent;
39 42 8 e Ljava/lang/Throwable;
Exception table:
from to target type
4 5 21 any
6 20 21 any
21 22 21 any
35 37 38 Class java.lang.Error
35 37 38 Class java.lang.RuntimeException
int getReceiveBufferSize();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "jdk.httpclient.receiveBufferSize"
1: iconst_0
2: invokestatic jdk.internal.net.http.common.Utils.getIntegerNetProperty:(Ljava/lang/String;I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/HttpClientImpl;
jdk.internal.net.http.common.BufferSupplier getSSLBufferSupplier();
descriptor: ()Ljdk/internal/net/http/common/BufferSupplier;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.HttpClientImpl.sslBufferSupplier:Ljdk/internal/net/http/HttpClientImpl$SSLDirectBufferSupplier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
private void lambda$6(java.net.http.HttpResponse, java.lang.Throwable);
descriptor: (Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.net.http.HttpClientImpl.unreference:()J
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
0 1 1 b Ljava/net/http/HttpResponse<TT;>;
0 1 2 t Ljava/lang/Throwable;
private void lambda$7(long, java.net.http.HttpRequest, java.net.http.HttpResponse, java.lang.Throwable);
descriptor: (JLjava/net/http/HttpRequest;Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 4 start local 5 0: aload 0
ldc "ClientImpl (async)"
lload 1
aload 3
invokevirtual jdk.internal.net.http.HttpClientImpl.debugCompleted:(Ljava/lang/String;JLjava/net/http/HttpRequest;)V
return
end local 5 end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/HttpClientImpl;
0 1 4 b Ljava/net/http/HttpResponse<TT;>;
0 1 5 t Ljava/lang/Throwable;
private static void lambda$8(java.net.http.HttpResponse, java.lang.Throwable);
descriptor: (Ljava/net/http/HttpResponse;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Ljava/net/http/HttpResponse<TT;>;
0 1 1 t Ljava/lang/Throwable;
}
SourceFile: "HttpClientImpl.java"
NestMembers:
jdk.internal.net.http.HttpClientImpl$DefaultThreadFactory jdk.internal.net.http.HttpClientImpl$DelegatingExecutor jdk.internal.net.http.HttpClientImpl$HttpClientTracker jdk.internal.net.http.HttpClientImpl$SSLDirectBufferSupplier jdk.internal.net.http.HttpClientImpl$SelectorAttachment jdk.internal.net.http.HttpClientImpl$SelectorManager jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Redirect = java.net.http.HttpClient$Redirect of java.net.http.HttpClient
public final Version = java.net.http.HttpClient$Version of java.net.http.HttpClient
public abstract BodyHandler = java.net.http.HttpResponse$BodyHandler of java.net.http.HttpResponse
public abstract PushPromiseHandler = java.net.http.HttpResponse$PushPromiseHandler of java.net.http.HttpResponse
public abstract Builder = java.net.http.WebSocket$Builder of java.net.http.WebSocket
private final DefaultThreadFactory = jdk.internal.net.http.HttpClientImpl$DefaultThreadFactory of jdk.internal.net.http.HttpClientImpl
final DelegatingExecutor = jdk.internal.net.http.HttpClientImpl$DelegatingExecutor of jdk.internal.net.http.HttpClientImpl
final HttpClientTracker = jdk.internal.net.http.HttpClientImpl$HttpClientTracker of jdk.internal.net.http.HttpClientImpl
private final SSLDirectBufferSupplier = jdk.internal.net.http.HttpClientImpl$SSLDirectBufferSupplier of jdk.internal.net.http.HttpClientImpl
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
private final SingleFacadeFactory = jdk.internal.net.http.HttpClientImpl$SingleFacadeFactory of jdk.internal.net.http.HttpClientImpl
public abstract Trackable = jdk.internal.net.http.common.OperationTrackers$Trackable of jdk.internal.net.http.common.OperationTrackers
public abstract Tracker = jdk.internal.net.http.common.OperationTrackers$Tracker of jdk.internal.net.http.common.OperationTrackers