class jdk.incubator.http.PullPublisher$Subscription implements java.util.concurrent.Flow$Subscription
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.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 boolean done;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long demand;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int recursion;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final jdk.incubator.http.PullPublisher this$0;
descriptor: Ljdk/incubator/http/PullPublisher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.Flow$Subscriber<? super T>, java.util.Iterator<T>);
descriptor: (Ljdk/incubator/http/PullPublisher;Ljava/util/concurrent/Flow$Subscriber;Ljava/util/Iterator;)V
flags: (0x0000)
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.PullPublisher$Subscription.this$0:Ljdk/incubator/http/PullPublisher;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield jdk.incubator.http.PullPublisher$Subscription.done:Z
2: aload 0
lconst_0
putfield jdk.incubator.http.PullPublisher$Subscription.demand:J
3: aload 0
iconst_0
putfield jdk.incubator.http.PullPublisher$Subscription.recursion:I
4: aload 0
aload 2
putfield jdk.incubator.http.PullPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
5: aload 0
aload 3
putfield jdk.incubator.http.PullPublisher$Subscription.iter:Ljava/util/Iterator;
6: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/PullPublisher$Subscription;
0 7 2 subscriber Ljava/util/concurrent/Flow$Subscriber<-TT;>;
0 7 3 iter Ljava/util/Iterator<TT;>;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-TT;>;Ljava/util/Iterator<TT;>;)V
MethodParameters:
Name Flags
this$0 final
subscriber
iter
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.incubator.http.PullPublisher$Subscription.done:Z
ifeq 2
1: aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "request("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokeinterface java.util.concurrent.Flow$Subscriber.onError:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.incubator.http.PullPublisher$Subscription.demand:J
lload 1
ladd
putfield jdk.incubator.http.PullPublisher$Subscription.demand:J
3: aload 0
dup
getfield jdk.incubator.http.PullPublisher$Subscription.recursion:I
iconst_1
iadd
putfield jdk.incubator.http.PullPublisher$Subscription.recursion:I
4: aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.recursion:I
iconst_1
if_icmple 15
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 7
iconst_0
goto 8
StackMap locals:
StackMap stack: jdk.incubator.http.PullPublisher$Subscription
7: iconst_1
StackMap locals: jdk.incubator.http.PullPublisher$Subscription long
StackMap stack: jdk.incubator.http.PullPublisher$Subscription int
8: putfield jdk.incubator.http.PullPublisher$Subscription.done:Z
9: aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.done:Z
ifeq 13
10: aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
invokeinterface java.util.concurrent.Flow$Subscriber.onComplete:()V
11: aload 0
dup
getfield jdk.incubator.http.PullPublisher$Subscription.recursion:I
iconst_1
isub
putfield jdk.incubator.http.PullPublisher$Subscription.recursion:I
12: return
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.concurrent.Flow$Subscriber.onNext:(Ljava/lang/Object;)V
14: aload 0
dup
getfield jdk.incubator.http.PullPublisher$Subscription.demand:J
lconst_1
lsub
putfield jdk.incubator.http.PullPublisher$Subscription.demand:J
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.demand:J
lconst_0
lcmp
ifgt 6
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/incubator/http/PullPublisher$Subscription;
0 17 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.incubator.http.PullPublisher$Subscription.done:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/PullPublisher$Subscription;
}
SourceFile: "PullPublisher.java"
NestHost: jdk.incubator.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.incubator.http.PullPublisher$Subscription of jdk.incubator.http.PullPublisher