class jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription implements java.util.concurrent.Flow$Subscription
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicBoolean cancelled;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.common.Demand demand;
descriptor: Ljdk/internal/net/http/common/Demand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean illegalArg;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final jdk.internal.net.http.common.SequentialScheduler pushDemandedScheduler;
descriptor: Ljdk/internal/net/http/common/SequentialScheduler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.internal.net.http.BufferingSubscriber this$0;
descriptor: Ljdk/internal/net/http/BufferingSubscriber;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.internal.net.http.BufferingSubscriber);
descriptor: (Ljdk/internal/net/http/BufferingSubscriber;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.this$0:Ljdk/internal/net/http/BufferingSubscriber;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
new jdk.internal.net.http.common.Demand
dup
invokespecial jdk.internal.net.http.common.Demand.<init>:()V
putfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.demand:Ljdk/internal/net/http/common/Demand;
3: aload 0
4: new jdk.internal.net.http.common.SequentialScheduler
dup
new jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription$PushDemandedTask
dup
aload 0
invokespecial jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription$PushDemandedTask.<init>:(Ljdk/internal/net/http/BufferingSubscriber$DownstreamSubscription;)V
invokespecial jdk.internal.net.http.common.SequentialScheduler.<init>:(Ljdk/internal/net/http/common/SequentialScheduler$RestartableTask;)V
putfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.pushDemandedScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/BufferingSubscriber$DownstreamSubscription;
MethodParameters:
Name Flags
this$0 final
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 1
aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.illegalArg:Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 6
3: aload 0
iconst_1
putfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.illegalArg:Z
4: aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.this$0:Ljdk/internal/net/http/BufferingSubscriber;
getfield jdk.internal.net.http.BufferingSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
lload 1
invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.demand:Ljdk/internal/net/http/common/Demand;
lload 1
invokevirtual jdk.internal.net.http.common.Demand.increase:(J)Z
pop
7: aload 0
invokevirtual jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.pushDemanded:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/BufferingSubscriber$DownstreamSubscription;
0 9 1 n J
MethodParameters:
Name Flags
n
void pushDemanded();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.pushDemandedScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/BufferingSubscriber$DownstreamSubscription;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndExchange:(ZZ)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.this$0:Ljdk/internal/net/http/BufferingSubscriber;
bipush 8
putfield jdk.internal.net.http.BufferingSubscriber.state:I
3: aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.this$0:Ljdk/internal/net/http/BufferingSubscriber;
getfield jdk.internal.net.http.BufferingSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
4: aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.pushDemandedScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/BufferingSubscriber$DownstreamSubscription;
static jdk.internal.net.http.BufferingSubscriber access$0(jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription);
descriptor: (Ljdk/internal/net/http/BufferingSubscriber$DownstreamSubscription;)Ljdk/internal/net/http/BufferingSubscriber;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription.this$0:Ljdk/internal/net/http/BufferingSubscriber;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "BufferingSubscriber.java"
NestHost: jdk.internal.net.http.BufferingSubscriber
InnerClasses:
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
private DownstreamSubscription = jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription of jdk.internal.net.http.BufferingSubscriber
PushDemandedTask = jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription$PushDemandedTask of jdk.internal.net.http.BufferingSubscriber$DownstreamSubscription
public abstract RestartableTask = jdk.internal.net.http.common.SequentialScheduler$RestartableTask of jdk.internal.net.http.common.SequentialScheduler