final class jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask
super_class: java.lang.Object
{
final jdk.internal.net.http.Http1Exchange$Http1Publisher this$1;
descriptor: Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/net/http/Http1Exchange;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.internal.net.http.Http1Exchange$Http1Publisher);
descriptor: (Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
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/Http1Exchange$Http1Publisher$WriteTask;
MethodParameters:
Name Flags
this$0 final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: getstatic jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
getfield jdk.internal.net.http.Http1Exchange.state:Ljdk/internal/net/http/Http1Exchange$State;
getstatic jdk.internal.net.http.Http1Exchange$State.COMPLETED:Ljdk/internal/net/http/Http1Exchange$State;
if_acmpne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected state:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
getfield jdk.internal.net.http.Http1Exchange.state:Ljdk/internal/net/http/Http1Exchange$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.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.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
ldc "WriteTask"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.cancelled:Z
ifeq 7
3: aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 4
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
ldc "handling cancellation"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.writeScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
5: aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
invokevirtual jdk.internal.net.http.Http1Exchange.getOutgoing:()Ljdk/internal/net/http/Http1Exchange$DataPair;
pop
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.subscriber:Ljava/util/concurrent/Flow$Subscriber;
ifnonnull 10
8: aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 9
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
ldc "no subscriber yet"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
return
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 35
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
aload 0
invokedynamic get(Ljdk/internal/net/http/Http1Exchange$Http1Publisher$WriteTask;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/net/http/Http1Exchange$Http1Publisher$WriteTask.lambda$0()Ljava/lang/String; (7)
()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/util/function/Supplier;)V
11: goto 35
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
invokevirtual jdk.internal.net.http.Http1Exchange.getOutgoing:()Ljdk/internal/net/http/Http1Exchange$DataPair;
astore 1
start local 1 13: aload 1
ifnonnull 15
14: goto 36
15: StackMap locals: jdk.internal.net.http.Http1Exchange$DataPair
StackMap stack:
aload 1
getfield jdk.internal.net.http.Http1Exchange$DataPair.throwable:Ljava/lang/Throwable;
ifnull 19
16: aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 17
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
ldc "onError"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.writeScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
18: goto 35
19: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.net.http.Http1Exchange$DataPair.data:Ljava/util/List;
astore 2
start local 2 20: aload 2
getstatic jdk.internal.net.http.Http1Exchange$Http1BodySubscriber.COMPLETED:Ljava/util/List;
if_acmpne 32
21: aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
getfield jdk.internal.net.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
22: getstatic jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.$assertionsDisabled:Z
ifne 23
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
getfield jdk.internal.net.http.Http1Exchange.state:Ljdk/internal/net/http/Http1Exchange$State;
getstatic jdk.internal.net.http.Http1Exchange$State.COMPLETING:Ljdk/internal/net/http/Http1Exchange$State;
if_acmpeq 23
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected state:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
getfield jdk.internal.net.http.Http1Exchange.state:Ljdk/internal/net/http/Http1Exchange$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
23: StackMap locals: java.util.List java.lang.Object
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
getstatic jdk.internal.net.http.Http1Exchange$State.COMPLETED:Ljdk/internal/net/http/Http1Exchange$State;
putfield jdk.internal.net.http.Http1Exchange.state:Ljdk/internal/net/http/Http1Exchange$State;
24: aload 3
monitorexit
25: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
26: aload 3
monitorexit
27: athrow
28: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 30
29: aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
ldc "completed, stopping %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.writeScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
30: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.writeScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
31: goto 35
32: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 34
33: aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "onNext with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokestatic jdk.internal.net.http.common.Utils.remaining:(Ljava/util/List;)J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
34: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.subscriber:Ljava/util/concurrent/Flow$Subscriber;
aload 2
invokeinterface java.util.concurrent.Flow$Subscriber.onNext:(Ljava/lang/Object;)V
end local 2 end local 1 35: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
invokevirtual jdk.internal.net.http.Http1Exchange.hasOutgoing:()Z
ifeq 36
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher.demand:Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.tryDecrement:()Z
ifne 12
36: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljdk/internal/net/http/Http1Exchange$Http1Publisher$WriteTask;
13 35 1 dp Ljdk/internal/net/http/Http1Exchange$DataPair;
20 35 2 data Ljava/util/List<Ljava/nio/ByteBuffer;>;
Exception table:
from to target type
22 25 26 any
26 27 26 any
private java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "hasOutgoing = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask.this$1:Ljdk/internal/net/http/Http1Exchange$Http1Publisher;
invokestatic jdk.internal.net.http.Http1Exchange$Http1Publisher.access$0:(Ljdk/internal/net/http/Http1Exchange$Http1Publisher;)Ljdk/internal/net/http/Http1Exchange;
invokevirtual jdk.internal.net.http.Http1Exchange.hasOutgoing:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Exchange$Http1Publisher$WriteTask;
}
SourceFile: "Http1Exchange.java"
NestHost: jdk.internal.net.http.Http1Exchange
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
DataPair = jdk.internal.net.http.Http1Exchange$DataPair of jdk.internal.net.http.Http1Exchange
abstract Http1BodySubscriber = jdk.internal.net.http.Http1Exchange$Http1BodySubscriber of jdk.internal.net.http.Http1Exchange
final Http1Publisher = jdk.internal.net.http.Http1Exchange$Http1Publisher of jdk.internal.net.http.Http1Exchange
final WriteTask = jdk.internal.net.http.Http1Exchange$Http1Publisher$WriteTask of jdk.internal.net.http.Http1Exchange$Http1Publisher
final State = jdk.internal.net.http.Http1Exchange$State of jdk.internal.net.http.Http1Exchange