class jdk.internal.net.http.PullPublisher$Subscription implements java.util.concurrent.Flow$Subscription
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.PullPublisher$Subscription
super_class: java.lang.Object
{
private final java.util.concurrent.Flow$Subscriber<? super T> subscriber;
descriptor: Ljava/util/concurrent/Flow$Subscriber;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/Flow$Subscriber<-TT;>;
private final java.util.Iterator<T> iter;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TT;>;
private volatile boolean completed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean cancelled;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final jdk.internal.net.http.common.SequentialScheduler pullScheduler;
descriptor: Ljdk/internal/net/http/common/SequentialScheduler;
flags: (0x0010) ACC_FINAL
private final jdk.internal.net.http.common.Demand demand;
descriptor: Ljdk/internal/net/http/common/Demand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.internal.net.http.PullPublisher this$0;
descriptor: Ljdk/internal/net/http/PullPublisher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.Flow$Subscriber<? super T>, java.util.Iterator<T>, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/PullPublisher;Ljava/util/concurrent/Flow$Subscriber;Ljava/util/Iterator;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.internal.net.http.PullPublisher$Subscription.this$0:Ljdk/internal/net/http/PullPublisher;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new jdk.internal.net.http.common.SequentialScheduler
dup
new jdk.internal.net.http.PullPublisher$Subscription$PullTask
dup
aload 0
invokespecial jdk.internal.net.http.PullPublisher$Subscription$PullTask.<init>:(Ljdk/internal/net/http/PullPublisher$Subscription;)V
invokespecial jdk.internal.net.http.common.SequentialScheduler.<init>:(Ljdk/internal/net/http/common/SequentialScheduler$RestartableTask;)V
putfield jdk.internal.net.http.PullPublisher$Subscription.pullScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
3: aload 0
new jdk.internal.net.http.common.Demand
dup
invokespecial jdk.internal.net.http.common.Demand.<init>:()V
putfield jdk.internal.net.http.PullPublisher$Subscription.demand:Ljdk/internal/net/http/common/Demand;
4: aload 0
aload 2
putfield jdk.internal.net.http.PullPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
5: aload 0
aload 3
putfield jdk.internal.net.http.PullPublisher$Subscription.iter:Ljava/util/Iterator;
6: aload 0
aload 4
putfield jdk.internal.net.http.PullPublisher$Subscription.error:Ljava/lang/Throwable;
7: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/PullPublisher$Subscription;
0 8 2 subscriber Ljava/util/concurrent/Flow$Subscriber<-TT;>;
0 8 3 iter Ljava/util/Iterator<TT;>;
0 8 4 throwable Ljava/lang/Throwable;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-TT;>;Ljava/util/Iterator<TT;>;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
this$0 final
subscriber
iter
throwable
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.PullPublisher$Subscription.cancelled:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 5
3: aload 0
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal non-positive request:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
putfield jdk.internal.net.http.PullPublisher$Subscription.error:Ljava/lang/Throwable;
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.PullPublisher$Subscription.demand:Ljdk/internal/net/http/common/Demand;
lload 1
invokevirtual jdk.internal.net.http.common.Demand.increase:(J)Z
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.PullPublisher$Subscription.pullScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/PullPublisher$Subscription;
0 8 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
iconst_1
putfield jdk.internal.net.http.PullPublisher$Subscription.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/PullPublisher$Subscription;
}
SourceFile: "PullPublisher.java"
NestHost: jdk.internal.net.http.PullPublisher
InnerClasses:
public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
private Subscription = jdk.internal.net.http.PullPublisher$Subscription of jdk.internal.net.http.PullPublisher
final PullTask = jdk.internal.net.http.PullPublisher$Subscription$PullTask of jdk.internal.net.http.PullPublisher$Subscription
public abstract RestartableTask = jdk.internal.net.http.common.SequentialScheduler$RestartableTask of jdk.internal.net.http.common.SequentialScheduler