class jdk.incubator.http.PseudoPublisher$Subscription implements java.util.concurrent.Flow$Subscription
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.PseudoPublisher$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.concurrent.atomic.AtomicBoolean done;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.incubator.http.PseudoPublisher this$0;
descriptor: Ljdk/incubator/http/PseudoPublisher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.Flow$Subscriber<? super T>);
descriptor: (Ljdk/incubator/http/PseudoPublisher;Ljava/util/concurrent/Flow$Subscriber;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 // jdk.incubator.http.PseudoPublisher$Subscription this
start local 2 // java.util.concurrent.Flow$Subscriber subscriber
0: .line 55
aload 0 /* this */
aload 1
putfield jdk.incubator.http.PseudoPublisher$Subscription.this$0:Ljdk/incubator/http/PseudoPublisher;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 53
aload 0 /* this */
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield jdk.incubator.http.PseudoPublisher$Subscription.done:Ljava/util/concurrent/atomic/AtomicBoolean;
2: .line 56
aload 0 /* this */
aload 2 /* subscriber */
putfield jdk.incubator.http.PseudoPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
3: .line 57
return
end local 2 // java.util.concurrent.Flow$Subscriber subscriber
end local 0 // jdk.incubator.http.PseudoPublisher$Subscription this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/PseudoPublisher$Subscription;
0 4 2 subscriber Ljava/util/concurrent/Flow$Subscriber<-TT;>;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-TT;>;)V
MethodParameters:
Name Flags
this$0 final
subscriber
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 // jdk.incubator.http.PseudoPublisher$Subscription this
start local 1 // long n
0: .line 61
aload 0 /* this */
getfield jdk.incubator.http.PseudoPublisher$Subscription.done:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 8
1: .line 62
lload 1 /* n */
lconst_0
lcmp
ifle 7
2: .line 63
aload 0 /* this */
getfield jdk.incubator.http.PseudoPublisher$Subscription.this$0:Ljdk/incubator/http/PseudoPublisher;
getfield jdk.incubator.http.PseudoPublisher.throwable:Ljava/lang/Throwable;
ifnonnull 5
3: .line 64
aload 0 /* this */
getfield jdk.incubator.http.PseudoPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
invokeinterface java.util.concurrent.Flow$Subscriber.onComplete:()V
4: .line 65
goto 8
5: .line 66
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield jdk.incubator.http.PseudoPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
aload 0 /* this */
getfield jdk.incubator.http.PseudoPublisher$Subscription.this$0:Ljdk/incubator/http/PseudoPublisher;
getfield jdk.incubator.http.PseudoPublisher.throwable:Ljava/lang/Throwable;
invokeinterface java.util.concurrent.Flow$Subscriber.onError:(Ljava/lang/Throwable;)V
6: .line 68
goto 8
7: .line 69
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield jdk.incubator.http.PseudoPublisher$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 /* n */
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
8: .line 72
StackMap locals:
StackMap stack:
return
end local 1 // long n
end local 0 // jdk.incubator.http.PseudoPublisher$Subscription this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/PseudoPublisher$Subscription;
0 9 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 // jdk.incubator.http.PseudoPublisher$Subscription this
0: .line 76
aload 0 /* this */
getfield jdk.incubator.http.PseudoPublisher$Subscription.done:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
1: .line 77
return
end local 0 // jdk.incubator.http.PseudoPublisher$Subscription this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/PseudoPublisher$Subscription;
}
SourceFile: "PseudoPublisher.java"
NestHost: jdk.incubator.http.PseudoPublisher
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.PseudoPublisher$Subscription of jdk.incubator.http.PseudoPublisher