final class jdk.internal.net.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.internal.net.http.SocketTube$InternalReadPublisher
super_class: java.lang.Object
{
private final jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription subscriptionImpl;
descriptor: Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.util.concurrent.atomic.AtomicReference<jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription> pendingSubscription;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0000)
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;>;
private volatile jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription subscription;
descriptor: Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final jdk.internal.net.http.SocketTube this$0;
descriptor: Ljdk/internal/net/http/SocketTube;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.internal.net.http.SocketTube);
descriptor: (Ljdk/internal/net/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.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription
dup
aload 0
invokespecial jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.<init>:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)V
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
3: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield jdk.internal.net.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/internal/net/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.internal.net.http.common.FlowTube.asTubeSubscriber:(Ljava/util/concurrent/Flow$Subscriber;)Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
astore 2
start local 2 2: new jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription
dup
aload 0
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
aload 2
invokespecial jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.<init>:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;)V
astore 3
start local 3 3: aload 0
getfield jdk.internal.net.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.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription
astore 4
start local 4 4: aload 4
ifnull 15
aload 4
aload 3
if_acmpeq 15
5: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 9
6: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "read publisher: dropping pending subscriber: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 4
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
9: StackMap locals: jdk.internal.net.http.common.FlowTube$TubeSubscriber jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
aload 4
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.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
10: aload 4
invokevirtual jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalOnSubscribe:()V
11: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.completed:Z
ifeq 14
12: aload 4
invokevirtual jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion:()V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 4
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.dropSubscription:()V
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 16
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "read publisher got subscriber"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
invokevirtual jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalSubscribe:()V
17: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
ldc "leaving read.subscribe: "
invokevirtual jdk.internal.net.http.SocketTube.debugState:(Ljava/lang/String;)V
18: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
0 19 1 s Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
2 19 2 sub Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
3 19 3 target Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;
4 19 4 previous Ljdk/internal/net/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=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 1
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "error signalled "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.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 3
2: return
3: StackMap locals:
StackMap stack:
invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 7
4: ldc "Error signalled on channel {0}: {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
5: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
invokevirtual jdk.internal.net.http.SocketTube.channelDescr:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
aastore
6: invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.subscriptionImpl:Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
invokevirtual jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.handleError:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
0 9 1 error Ljava/lang/Throwable;
MethodParameters:
Name Flags
error
static jdk.internal.net.http.SocketTube access$0(jdk.internal.net.http.SocketTube$InternalReadPublisher);
descriptor: (Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)Ljdk/internal/net/http/SocketTube;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher.this$0:Ljdk/internal/net/http/SocketTube;
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.internal.net.http.SocketTube
InnerClasses:
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.internal.net.http.SocketTube$InternalReadPublisher of jdk.internal.net.http.SocketTube
final InternalReadSubscription = jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription of jdk.internal.net.http.SocketTube$InternalReadPublisher
final ReadEvent = jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent of jdk.internal.net.http.SocketTube$InternalReadPublisher
final ReadSubscription = jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription of jdk.internal.net.http.SocketTube$InternalReadPublisher
public abstract TubeSubscriber = jdk.internal.net.http.common.FlowTube$TubeSubscriber of jdk.internal.net.http.common.FlowTube