final class jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription implements java.util.concurrent.Flow$Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription
super_class: java.lang.Object
{
final jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription impl;
descriptor: Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
flags: (0x0010) ACC_FINAL
final jdk.internal.net.http.common.FlowTube$TubeSubscriber subscriber;
descriptor: Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> errorRef;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;
final jdk.internal.net.http.SocketTube$BufferSource bufferSource;
descriptor: Ljdk/internal/net/http/SocketTube$BufferSource;
flags: (0x0010) ACC_FINAL
volatile boolean subscribed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean completed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final jdk.internal.net.http.SocketTube$InternalReadPublisher this$1;
descriptor: Ljdk/internal/net/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/internal/net/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.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.internal.net.http.SocketTube$InternalReadPublisher, jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription, jdk.internal.net.http.common.FlowTube$TubeSubscriber);
descriptor: (Ljdk/internal/net/http/SocketTube$InternalReadPublisher;Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
aload 2
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.impl:Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
4: aload 0
aload 3
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.supportsRecycling:()Z
ifeq 6
5: new jdk.internal.net.http.SocketTube$SSLDirectBufferSource
dup
aload 1
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.client:Ljdk/internal/net/http/HttpClientImpl;
invokespecial jdk.internal.net.http.SocketTube$SSLDirectBufferSource.<init>:(Ljdk/internal/net/http/HttpClientImpl;)V
goto 7
6: StackMap locals: jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription jdk.internal.net.http.SocketTube$InternalReadPublisher jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription jdk.internal.net.http.common.FlowTube$TubeSubscriber
StackMap stack: jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription
aload 1
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.sliceBuffersSource:Ljdk/internal/net/http/SocketTube$SliceBufferSource;
7: StackMap locals: jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription jdk.internal.net.http.SocketTube$InternalReadPublisher jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription jdk.internal.net.http.common.FlowTube$TubeSubscriber
StackMap stack: jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription jdk.internal.net.http.SocketTube$BufferSource
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.bufferSource:Ljdk/internal/net/http/SocketTube$BufferSource;
8: aload 0
aload 3
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
9: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;
0 10 2 impl Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
0 10 3 subscriber Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
MethodParameters:
Name Flags
this$0 final
impl
subscriber
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
ifne 3
1: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.impl:Ljdk/internal/net/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
lload 1
invokevirtual jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.request:(J)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)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 5
4: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "subscription cancelled, ignoring request %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;
0 6 1 n J
MethodParameters:
Name Flags
n
void signalCompletion();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscribed:Z
ifne 1
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
ifne 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.SocketTube$InternalReadPublisher$ReadSubscription.completed:Z
ifne 2
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
ifeq 3
StackMap locals:
StackMap stack:
2: return
3: StackMap locals:
StackMap stack:
aload 0
dup
astore 1
monitorenter
4: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.completed:Z
ifeq 6
aload 1
monitorexit
5: return
6: StackMap locals: jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.completed:Z
7: aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 1
start local 1 12: aload 1
ifnull 17
13: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)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 15
14: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "forwarding error to subscriber: "
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
15: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
aload 1
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onError:(Ljava/lang/Throwable;)V
16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)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 18
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "completing subscriber"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onComplete:()V
19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;
12 20 1 error Ljava/lang/Throwable;
Exception table:
from to target type
4 5 9 any
6 8 9 any
9 10 9 any
void signalOnSubscribe();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscribed:Z
ifne 1
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
ifeq 2
StackMap locals:
StackMap stack:
1: return
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 1
monitorenter
3: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscribed:Z
ifne 4
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
ifeq 6
StackMap locals: jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
4: aload 1
monitorexit
5: return
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscribed:Z
7: aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
aload 0
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
12: aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)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 13
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalReadPublisher;
invokestatic jdk.internal.net.http.SocketTube$InternalReadPublisher.access$0:(Ljdk/internal/net/http/SocketTube$InternalReadPublisher;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "onSubscribe called"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 15
14: aload 0
invokevirtual jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion:()V
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/net/http/SocketTube$InternalReadPublisher$ReadSubscription;
Exception table:
from to target type
3 5 9 any
6 8 9 any
9 10 9 any
}
SourceFile: "SocketTube.java"
NestHost: jdk.internal.net.http.SocketTube
InnerClasses:
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
public abstract BufferSource = jdk.internal.net.http.SocketTube$BufferSource of jdk.internal.net.http.SocketTube
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 ReadSubscription = jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription of jdk.internal.net.http.SocketTube$InternalReadPublisher
private final SSLDirectBufferSource = jdk.internal.net.http.SocketTube$SSLDirectBufferSource of jdk.internal.net.http.SocketTube
public abstract TubeSubscriber = jdk.internal.net.http.common.FlowTube$TubeSubscriber of jdk.internal.net.http.common.FlowTube