final class jdk.incubator.http.SocketTube$InternalReadPublisher implements java.util.concurrent.Flow$Publisher<java.util.List<java.nio.ByteBuffer>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.SocketTube$InternalReadPublisher
super_class: java.lang.Object
{
private final jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription subscriptionImpl;
descriptor: Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.util.concurrent.atomic.AtomicReference<jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription> pendingSubscription;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0000)
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;>;
private volatile jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription subscription;
descriptor: Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final jdk.incubator.http.SocketTube this$0;
descriptor: Ljdk/incubator/http/SocketTube;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.incubator.http.SocketTube);
descriptor: (Ljdk/incubator/http/SocketTube;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.incubator.http.SocketTube$InternalReadPublisher.this$0:Ljdk/incubator/http/SocketTube;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription
dup
aload 0
invokespecial jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.<init>:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;)V
putfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
3: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield jdk.incubator.http.SocketTube$InternalReadPublisher.pendingSubscription:Ljava/util/concurrent/atomic/AtomicReference;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher;
MethodParameters:
Name Flags
this$0 final
public void subscribe(java.util.concurrent.Flow$Subscriber<? super java.util.List<java.nio.ByteBuffer>>);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic jdk.incubator.http.internal.common.FlowTube.asTubeSubscriber:(Ljava/util/concurrent/Flow$Subscriber;)Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
astore 2
start local 2 2: new jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
dup
aload 0
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
aload 2
invokespecial jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.<init>:(Ljdk/incubator/http/SocketTube$InternalReadPublisher;Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;)V
astore 3
start local 3 3: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.pendingSubscription:Ljava/util/concurrent/atomic/AtomicReference;
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
astore 4
start local 4 4: aload 4
ifnull 14
aload 4
aload 3
if_acmpeq 14
5: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.this$0: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;
6: aload 4
invokedynamic get(Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;)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.lambda$0(Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;)Ljava/lang/String; (6)
()Ljava/lang/String;
7: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
8: aload 4
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.this$0: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
9: aload 4
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.signalOnSubscribe:()V
10: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifeq 13
11: aload 4
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion:()V
12: goto 14
13: StackMap locals: jdk.incubator.http.internal.common.FlowTube$TubeSubscriber jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
aload 4
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
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.this$0: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 publisher got subscriber"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
15: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalSubscribe:()V
16: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.this$0:Ljdk/incubator/http/SocketTube;
ldc "leaving read.subscribe: "
invokevirtual jdk.incubator.http.SocketTube.debugState:(Ljava/lang/String;)V
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher;
0 18 1 s Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
2 18 2 sub Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
3 18 3 target Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
4 18 4 previous Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;)V
MethodParameters:
Name Flags
s
void signalError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.this$0: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.subscriptionImpl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handleError:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher;
0 4 1 error Ljava/lang/Throwable;
MethodParameters:
Name Flags
error
static jdk.incubator.http.SocketTube access$0(jdk.incubator.http.SocketTube$InternalReadPublisher);
descriptor: (Ljdk/incubator/http/SocketTube$InternalReadPublisher;)Ljdk/incubator/http/SocketTube;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher.this$0:Ljdk/incubator/http/SocketTube;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$0(jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription);
descriptor: (Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;)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 publisher: dropping pending subscriber: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
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
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Flow$Publisher<Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
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 Publisher = java.util.concurrent.Flow$Publisher of java.util.concurrent.Flow
public abstract Subscriber = java.util.concurrent.Flow$Subscriber 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
public abstract TubeSubscriber = jdk.incubator.http.internal.common.FlowTube$TubeSubscriber of jdk.incubator.http.internal.common.FlowTube