final class jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper 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.common.SSLTube$SSLSubscriptionWrapper
super_class: java.lang.Object
{
volatile java.util.concurrent.Flow$Subscription delegate;
descriptor: Ljava/util/concurrent/Flow$Subscription;
flags: (0x0040) ACC_VOLATILE
private volatile boolean cancelled;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final jdk.internal.net.http.common.SSLTube this$0;
descriptor: Ljdk/internal/net/http/common/SSLTube;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.net.http.common.SSLTube);
descriptor: (Ljdk/internal/net/http/common/SSLTube;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.this$0:Ljdk/internal/net/http/common/SSLTube;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
MethodParameters:
Name Flags
this$0 final
void setSubscription(java.util.concurrent.Flow$Subscription);
descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.this$0:Ljdk/internal/net/http/common/SSLTube;
getfield jdk.internal.net.http.common.SSLTube.writeDemand:Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.get:()J
lstore 2
start local 2 1: aload 0
aload 1
putfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.delegate:Ljava/util/concurrent/Flow$Subscription;
2: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.this$0:Ljdk/internal/net/http/common/SSLTube;
getfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 4
3: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.this$0:Ljdk/internal/net/http/common/SSLTube;
getfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "setSubscription: demand=%d, cancelled:%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.cancelled:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.cancelled:Z
ifeq 6
5: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.delegate:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
goto 8
6: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifle 8
7: aload 1
lload 2
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
0 9 1 sub Ljava/util/concurrent/Flow$Subscription;
1 9 2 demand J
MethodParameters:
Name Flags
sub
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.this$0:Ljdk/internal/net/http/common/SSLTube;
getfield jdk.internal.net.http.common.SSLTube.writeDemand:Ljdk/internal/net/http/common/Demand;
lload 1
invokevirtual jdk.internal.net.http.common.Demand.increase:(J)Z
pop
1: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.this$0:Ljdk/internal/net/http/common/SSLTube;
getfield jdk.internal.net.http.common.SSLTube.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.common.SSLTube$SSLSubscriptionWrapper.this$0:Ljdk/internal/net/http/common/SSLTube;
getfield jdk.internal.net.http.common.SSLTube.debug:Ljdk/internal/net/http/common/Logger;
ldc "request: n=%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
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.delegate:Ljava/util/concurrent/Flow$Subscription;
astore 3
start local 3 3: aload 3
ifnull 5
lload 1
lconst_0
lcmp
ifle 5
4: aload 3
lload 1
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
5: StackMap locals: java.util.concurrent.Flow$Subscription
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
0 6 1 n J
3 6 3 sub Ljava/util/concurrent/Flow$Subscription;
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
iconst_1
putfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.cancelled:Z
1: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.delegate:Ljava/util/concurrent/Flow$Subscription;
ifnull 3
2: aload 0
getfield jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper.delegate:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/common/SSLTube$SSLSubscriptionWrapper;
}
SourceFile: "SSLTube.java"
NestHost: jdk.internal.net.http.common.SSLTube
InnerClasses:
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
final SSLSubscriptionWrapper = jdk.internal.net.http.common.SSLTube$SSLSubscriptionWrapper of jdk.internal.net.http.common.SSLTube