final class jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription implements java.util.concurrent.Flow$Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription
super_class: java.lang.Object
{
private final jdk.incubator.http.internal.common.Demand demand;
descriptor: Ljdk/incubator/http/internal/common/Demand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.incubator.http.internal.common.SequentialScheduler readScheduler;
descriptor: Ljdk/incubator/http/internal/common/SequentialScheduler;
flags: (0x0010) ACC_FINAL
private volatile boolean completed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final jdk.incubator.http.SocketTube$InternalReadPublisher$ReadEvent readEvent;
descriptor: Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadEvent;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.AsyncEvent subscribeEvent;
descriptor: Ljdk/incubator/http/AsyncEvent;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.incubator.http.SocketTube$InternalReadPublisher this$1;
descriptor: Ljdk/incubator/http/SocketTube$InternalReadPublisher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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=1, locals=0, args_size=0
0: ldc Ljdk/incubator/http/SocketTube;
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.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.incubator.http.SocketTube$InternalReadPublisher);
descriptor: (Ljdk/incubator/http/SocketTube$InternalReadPublisher;)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.incubator.http.internal.common.Demand
dup
invokespecial jdk.incubator.http.internal.common.Demand.<init>:()V
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.demand:Ljdk/incubator/http/internal/common/Demand;
2: aload 0
new jdk.incubator.http.internal.common.SequentialScheduler
dup
new jdk.incubator.http.SocketTube$SocketFlowTask
dup
aload 0
invokedynamic run(Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.read()V (5)
()V
invokespecial jdk.incubator.http.SocketTube$SocketFlowTask.<init>:(Ljava/lang/Runnable;)V
invokespecial jdk.incubator.http.internal.common.SequentialScheduler.<init>:(Ljdk/incubator/http/internal/common/SequentialScheduler$RestartableTask;)V
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
3: aload 0
new jdk.incubator.http.AsyncTriggerEvent
dup
aload 0
invokedynamic accept(Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;)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/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.signalError(Ljava/lang/Throwable;)V (5)
(Ljava/io/IOException;)V
4: aload 0
invokedynamic run(Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.handleSubscribeEvent()V (5)
()V
invokespecial jdk.incubator.http.AsyncTriggerEvent.<init>:(Ljava/util/function/Consumer;Ljava/lang/Runnable;)V
5: putfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.subscribeEvent:Ljdk/incubator/http/AsyncEvent;
6: aload 0
new jdk.incubator.http.SocketTube$InternalReadPublisher$ReadEvent
dup
aload 1
aload 1
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.channel:Ljava/nio/channels/SocketChannel;
aload 0
invokespecial jdk.incubator.http.SocketTube$InternalReadPublisher$ReadEvent.<init>:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;Ljava/nio/channels/SocketChannel;Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;)V
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readEvent:Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadEvent;
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
MethodParameters:
Name Flags
this$0 final
final void signalSubscribe();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.isStopped:()Z
ifne 1
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifeq 6
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
2: ldc "handling pending subscription while completed"
3: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
4: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
5: goto 14
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
7: ldc "registering subscribe event"
8: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
9: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.subscribeEvent:Ljdk/incubator/http/AsyncEvent;
invokevirtual jdk.incubator.http.HttpClientImpl.registerEvent:(Ljdk/incubator/http/AsyncEvent;)V
10: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 1
start local 1 12: aload 0
aload 1
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalError:(Ljava/lang/Throwable;)V
13: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
end local 1 14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
12 14 1 t Ljava/lang/Throwable;
Exception table:
from to target type
6 10 11 Class java.lang.Throwable
final void handleSubscribeEvent();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "subscribe event raised"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
2: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.runOrSchedule:()V
3: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.isStopped:()Z
ifne 4
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifeq 8
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
5: ldc "handling pending subscription when completed"
6: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
7: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
public final void request(long);
descriptor: (J)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifle 6
1: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.demand:Ljdk/incubator/http/internal/common/Demand;
lload 1
invokevirtual jdk.incubator.http.internal.common.Demand.increase:(J)Z
istore 3
start local 3 2: iload 3
ifeq 7
3: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "got some demand for reading"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
4: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.resumeReadEvent:()V
end local 3 5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
new java.lang.IllegalArgumentException
dup
ldc "non-positive request"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalError:(Ljava/lang/Throwable;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
new java.lang.StringBuilder
dup
ldc "leaving request("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
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;
invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
0 9 1 n J
2 5 3 wasFulfilled Z
MethodParameters:
Name Flags
n
public final void cancel();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.pauseReadEvent:()V
1: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.stop:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
private void resumeReadEvent();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "resuming read event"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
1: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readEvent:Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadEvent;
aload 0
invokedynamic accept(Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;)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/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.signalError(Ljava/lang/Throwable;)V (5)
(Ljava/lang/Throwable;)V
invokevirtual jdk.incubator.http.SocketTube.resumeEvent:(Ljdk/incubator/http/SocketTube$SocketFlowEvent;Ljava/util/function/Consumer;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
private void pauseReadEvent();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "pausing read event"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
1: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readEvent:Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadEvent;
aload 0
invokedynamic accept(Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;)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/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.signalError(Ljava/lang/Throwable;)V (5)
(Ljava/lang/Throwable;)V
invokevirtual jdk.incubator.http.SocketTube.pauseEvent:(Ljdk/incubator/http/SocketTube$SocketFlowEvent;Ljava/util/function/Consumer;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
final void handleError();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.runOrSchedule:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
final void signalError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 1
invokedynamic get(Ljava/lang/Throwable;)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/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.lambda$5(Ljava/lang/Throwable;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
3: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.runOrSchedule:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
0 5 1 error Ljava/lang/Throwable;
MethodParameters:
Name Flags
error
final void signalReadable();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.runOrSchedule:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
final void read();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=6, args_size=1
start local 0 0: goto 54
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifeq 4
2: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
ifeq 8
5: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "pending subscriber subscribed"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
6: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
7: return
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscription:Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
astore 1
start local 1 9: aload 1
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
astore 2
start local 2 10: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 3
start local 3 11: aload 3
ifnull 21
12: aload 0
iconst_1
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
13: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.pauseReadEvent:()V
14: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 3
aload 2
invokedynamic get(Ljava/lang/Throwable;Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;)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/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.lambda$6(Ljava/lang/Throwable;Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
15: aload 1
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
16: aload 1
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion:()V
17: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.stop:()V
18: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
ldc "leaving read() loop with error: "
invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
19: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
20: return
21: StackMap locals: jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription jdk.incubator.http.internal.common.FlowTube$TubeSubscriber java.lang.Throwable
StackMap stack:
getstatic jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.$assertionsDisabled:Z
ifne 22
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.client:Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
ifne 22
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.demand:Ljdk/incubator/http/internal/common/Demand;
invokevirtual jdk.incubator.http.internal.common.Demand.tryDecrement:()Z
ifeq 51
23: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
invokevirtual jdk.incubator.http.SocketTube.readAvailable:()Ljava/util/List;
astore 4
start local 4 24: aload 4
getstatic jdk.incubator.http.SocketTube.EOF:Ljava/util/List;
if_acmpne 34
25: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifne 31
26: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "got read EOF"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
27: aload 0
iconst_1
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
28: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.pauseReadEvent:()V
29: aload 1
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion:()V
30: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.stop:()V
31: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
ldc "leaving read() loop after EOF: "
invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
32: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
33: return
34: StackMap locals:
StackMap stack:
aload 4
invokestatic jdk.incubator.http.internal.common.Utils.remaining:(Ljava/util/List;)J
lconst_0
lcmp
ifle 42
35: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 4
invokedynamic get(Ljava/util/List;)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/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription.lambda$7(Ljava/util/List;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
36: getstatic jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.$assertionsDisabled:Z
ifne 37
aload 1
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.completed:Z
ifeq 37
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
37: StackMap locals:
StackMap stack:
aload 2
aload 4
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onNext:(Ljava/lang/Object;)V
38: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.resumeReadEvent:()V
39: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
ldc "leaving read() loop after onNext: "
invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
40: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
41: return
42: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "no more bytes available"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
43: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.demand:Ljdk/incubator/http/internal/common/Demand;
lconst_1
invokevirtual jdk.incubator.http.internal.common.Demand.increase:(J)Z
pop
44: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.resumeReadEvent:()V
45: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
ldc "leaving read() loop with no bytes"
invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
46: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
47: return
end local 4 48: StackMap locals: jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription jdk.incubator.http.internal.common.FlowTube$TubeSubscriber java.lang.Throwable
StackMap stack: java.lang.Throwable
astore 4
start local 4 49: aload 0
aload 4
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalError:(Ljava/lang/Throwable;)V
50: goto 54
end local 4 51: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "no more demand for reading"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
52: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
ldc "leaving read() loop with no demand"
invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
53: goto 63
end local 3 end local 2 end local 1 54: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.isStopped:()Z
ifeq 1
55: goto 63
StackMap locals:
StackMap stack: java.lang.Throwable
56: astore 1
start local 1 57: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "Unexpected exception in read loop"
aload 1
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;Ljava/lang/Throwable;)V
58: aload 0
aload 1
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalError:(Ljava/lang/Throwable;)V
end local 1 59: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
goto 64
60: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
61: aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
62: aload 5
athrow
63: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handlePending:()Z
pop
64: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 65 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
9 54 1 current Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
10 54 2 subscriber Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
11 54 3 error Ljava/lang/Throwable;
24 48 4 bytes Ljava/util/List<Ljava/nio/ByteBuffer;>;
49 51 4 x Ljava/lang/Throwable;
57 59 1 t Ljava/lang/Throwable;
Exception table:
from to target type
23 32 48 Class java.lang.Throwable
34 40 48 Class java.lang.Throwable
42 46 48 Class java.lang.Throwable
0 2 56 Class java.lang.Throwable
4 6 56 Class java.lang.Throwable
8 19 56 Class java.lang.Throwable
21 32 56 Class java.lang.Throwable
34 40 56 Class java.lang.Throwable
42 46 56 Class java.lang.Throwable
48 55 56 Class java.lang.Throwable
0 2 60 any
4 6 60 any
8 19 60 any
21 32 60 any
34 40 60 any
42 46 60 any
48 59 60 any
boolean handlePending();
descriptor: ()Z
flags: (0x0000)
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.pendingSubscription:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
astore 1
start local 1 1: aload 1
ifnonnull 2
iconst_0
ireturn
2: StackMap locals: jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "handling pending subscription for %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 1
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
aastore
4: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
5: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscription:Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
astore 2
start local 2 6: aload 2
ifnull 8
aload 2
aload 1
if_acmpeq 8
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifne 8
7: aload 2
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.dropSubscription:()V
8: StackMap locals: jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "read demand reset to 0"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
9: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.demand:Ljdk/incubator/http/internal/common/Demand;
invokevirtual jdk.incubator.http.internal.common.Demand.reset:()V
10: aload 1
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
11: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.readScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.isStopped:()Z
ifne 14
12: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
aload 1
putfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscription:Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "socket tube is already stopped"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "calling onSubscribe"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
16: aload 1
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.signalOnSubscribe:()V
17: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifeq 20
18: aload 1
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.this$1:Ljdk/incubator/http/SocketTube$InternalReadPublisher;
invokestatic jdk.incubator.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
getfield jdk.incubator.http.SocketTube.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
19: aload 1
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion:()V
20: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
1 21 1 pending Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
6 21 2 current Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
private static java.lang.String lambda$5(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "got read error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$6(java.lang.Throwable, jdk.incubator.http.internal.common.FlowTube$TubeSubscriber);
descriptor: (Ljava/lang/Throwable;Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.StringBuilder
dup
ldc "Sending error "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc " to subscriber "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$7(java.util.List);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "read bytes: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
invokestatic jdk.incubator.http.internal.common.Utils.remaining:(Ljava/util/List;)J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SocketTube.java"
NestHost: jdk.incubator.http.SocketTube
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System
public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
private final InternalReadPublisher = jdk.incubator.http.SocketTube$InternalReadPublisher of jdk.incubator.http.SocketTube
final InternalReadSubscription = jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription of jdk.incubator.http.SocketTube$InternalReadPublisher
final ReadEvent = jdk.incubator.http.SocketTube$InternalReadPublisher$ReadEvent of jdk.incubator.http.SocketTube$InternalReadPublisher
final ReadSubscription = jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription of jdk.incubator.http.SocketTube$InternalReadPublisher
private abstract SocketFlowEvent = jdk.incubator.http.SocketTube$SocketFlowEvent of jdk.incubator.http.SocketTube
private SocketFlowTask = jdk.incubator.http.SocketTube$SocketFlowTask of jdk.incubator.http.SocketTube
public abstract TubeSubscriber = jdk.incubator.http.internal.common.FlowTube$TubeSubscriber of jdk.incubator.http.internal.common.FlowTube
public abstract RestartableTask = jdk.incubator.http.internal.common.SequentialScheduler$RestartableTask of jdk.incubator.http.internal.common.SequentialScheduler