final class jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription 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$InternalWriteSubscriber$WriteSubscription
super_class: java.lang.Object
{
final java.util.concurrent.Flow$Subscription upstreamSubscription;
descriptor: Ljava/util/concurrent/Flow$Subscription;
flags: (0x0010) ACC_FINAL
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final jdk.internal.net.http.SocketTube$InternalWriteSubscriber this$1;
descriptor: Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.net.http.SocketTube$InternalWriteSubscriber, java.util.concurrent.Flow$Subscription);
descriptor: (Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.upstreamSubscription:Ljava/util/concurrent/Flow$Subscription;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber$WriteSubscription;
0 3 2 subscription Ljava/util/concurrent/Flow$Subscription;
MethodParameters:
Name Flags
this$0 final
subscription
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.cancelled:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.upstreamSubscription:Ljava/util/concurrent/Flow$Subscription;
lload 1
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber$WriteSubscription;
0 3 1 n J
MethodParameters:
Name Flags
n
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.cancelled:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)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 2
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "write: cancel"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
invokestatic jdk.internal.net.http.common.Log.channel:()Z
ifeq 4
3: ldc "Cancelling write subscription"
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logChannel:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.dropSubscription:()V
5: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.upstreamSubscription:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber$WriteSubscription;
void dropSubscription();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.cancelled:Z
2: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)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 3
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "write: resetting demand to 0"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
3: StackMap locals: jdk.internal.net.http.SocketTube$InternalWriteSubscriber
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.reset:()V
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber$WriteSubscription;
Exception table:
from to target type
1 5 6 any
6 7 6 any
void requestMore();
descriptor: ()V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber.completed:Z
ifne 1
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.cancelled:Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
ldc "leaving requestMore: "
invokevirtual jdk.internal.net.http.SocketTube.debugState:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
dup
astore 4
monitorenter
4: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.cancelled:Z
ifeq 6
aload 4
monitorexit
5: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
ldc "leaving requestMore: "
invokevirtual jdk.internal.net.http.SocketTube.debugState:(Ljava/lang/String;)V
return
6: StackMap locals: jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription top top top jdk.internal.net.http.SocketTube$InternalWriteSubscriber
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.get:()J
lstore 2
start local 2 7: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber.writeDemand:Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.increaseIfFulfilled:()Z
istore 1
start local 1 8: aload 4
monitorexit
9: goto 12
end local 2 end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 4
monitorexit
11: athrow
start local 1 start local 2 12: StackMap locals: jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription int long
StackMap stack:
iload 1
ifeq 16
13: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)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 14
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "write: requesting more..."
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.upstreamSubscription:Ljava/util/concurrent/Flow$Subscription;
lconst_1
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
15: goto 27
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)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 27
17: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "write: no need to request more: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 2
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
end local 2 end local 1 18: goto 27
StackMap locals: jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription
StackMap stack: java.lang.Throwable
19: astore 1
start local 1 20: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)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 22
21: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
getfield jdk.internal.net.http.SocketTube.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "write: error while requesting more: "
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
22: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
aload 1
invokevirtual jdk.internal.net.http.SocketTube$InternalWriteSubscriber.signalError:(Ljava/lang/Throwable;)V
end local 1 23: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
ldc "leaving requestMore: "
invokevirtual jdk.internal.net.http.SocketTube.debugState:(Ljava/lang/String;)V
goto 28
24: StackMap locals: jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription
StackMap stack: java.lang.Throwable
astore 5
25: aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
ldc "leaving requestMore: "
invokevirtual jdk.internal.net.http.SocketTube.debugState:(Ljava/lang/String;)V
26: aload 5
athrow
27: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription.this$1:Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;
invokestatic jdk.internal.net.http.SocketTube$InternalWriteSubscriber.access$1:(Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber;)Ljdk/internal/net/http/SocketTube;
ldc "leaving requestMore: "
invokevirtual jdk.internal.net.http.SocketTube.debugState:(Ljava/lang/String;)V
28: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljdk/internal/net/http/SocketTube$InternalWriteSubscriber$WriteSubscription;
8 10 1 requestMore Z
12 18 1 requestMore Z
7 10 2 d J
12 18 2 d J
20 23 1 t Ljava/lang/Throwable;
Exception table:
from to target type
4 5 10 any
6 9 10 any
10 11 10 any
0 1 19 Class java.lang.Throwable
3 5 19 Class java.lang.Throwable
6 18 19 Class java.lang.Throwable
0 1 24 any
3 5 24 any
6 23 24 any
}
SourceFile: "SocketTube.java"
NestHost: jdk.internal.net.http.SocketTube
InnerClasses:
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
private final InternalWriteSubscriber = jdk.internal.net.http.SocketTube$InternalWriteSubscriber of jdk.internal.net.http.SocketTube
final WriteSubscription = jdk.internal.net.http.SocketTube$InternalWriteSubscriber$WriteSubscription of jdk.internal.net.http.SocketTube$InternalWriteSubscriber