final class jdk.incubator.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.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
super_class: java.lang.Object
{
final jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription impl;
descriptor: Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.internal.common.FlowTube$TubeSubscriber subscriber;
descriptor: Ljdk/incubator/http/internal/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;>;
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.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$ReadSubscription.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.incubator.http.SocketTube$InternalReadPublisher, jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription, jdk.incubator.http.internal.common.FlowTube$TubeSubscriber);
descriptor: (Ljdk/incubator/http/SocketTube$InternalReadPublisher;Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.this$1:Ljdk/incubator/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.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.errorRef:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
aload 2
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.impl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
4: aload 0
aload 3
putfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
0 6 2 impl Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
0 6 3 subscriber Ljdk/incubator/http/internal/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.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
ifne 3
1: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.impl:Ljdk/incubator/http/SocketTube$InternalReadPublisher$InternalReadSubscription;
lload 1
invokevirtual jdk.incubator.http.SocketTube$InternalReadPublisher$InternalReadSubscription.request:(J)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.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;
4: 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
5: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
0 7 1 n J
MethodParameters:
Name Flags
n
void signalCompletion();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscribed:Z
ifne 1
aload 0
getfield jdk.incubator.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.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.completed:Z
ifne 2
aload 0
getfield jdk.incubator.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.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.completed:Z
ifeq 6
aload 1
monitorexit
5: return
6: StackMap locals: jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
aload 0
iconst_1
putfield jdk.incubator.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.incubator.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 16
13: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.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$ReadSubscription.lambda$0(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
14: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
aload 1
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onError:(Ljava/lang/Throwable;)V
15: goto 18
16: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.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 "completing subscriber"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
17: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onComplete:()V
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
12 19 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=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscribed:Z
ifne 1
aload 0
getfield jdk.incubator.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.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscribed:Z
ifne 4
aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.cancelled:Z
ifeq 6
StackMap locals: jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription
StackMap stack:
4: aload 1
monitorexit
5: return
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.incubator.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.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.subscriber:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
aload 0
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
12: aload 0
getfield jdk.incubator.http.SocketTube$InternalReadPublisher$ReadSubscription.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 "onSubscribe called"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
13: aload 0
getfield jdk.incubator.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.incubator.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/incubator/http/SocketTube$InternalReadPublisher$ReadSubscription;
Exception table:
from to target type
3 5 9 any
6 8 9 any
9 10 9 any
private static java.lang.String lambda$0(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 "forwarding error to subscriber: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
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
}
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 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