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