class jdk.incubator.http.internal.common.DebugLogger implements java.lang.System$Logger
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.internal.common.DebugLogger
super_class: java.lang.Object
{
static final java.lang.String HTTP_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.internal.httpclient.debug"
static final java.lang.String HPACK_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.internal.httpclient.hpack.debug"
static final java.lang.System$Logger HTTP;
descriptor: Ljava/lang/System$Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.System$Logger HPACK;
descriptor: Ljava/lang/System$Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final long START_NANOS;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.util.function.Supplier<java.lang.String> dbgTag;
descriptor: Ljava/util/function/Supplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Supplier<Ljava/lang/String;>;
private final java.lang.System$Logger$Level errLevel;
descriptor: Ljava/lang/System$Logger$Level;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.System$Logger$Level outLevel;
descriptor: Ljava/lang/System$Logger$Level;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.System$Logger logger;
descriptor: Ljava/lang/System$Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean debugOn;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean traceOn;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "jdk.internal.httpclient.debug"
invokestatic java.lang.System.getLogger:(Ljava/lang/String;)Ljava/lang/System$Logger;
putstatic jdk.incubator.http.internal.common.DebugLogger.HTTP:Ljava/lang/System$Logger;
1: ldc "jdk.internal.httpclient.hpack.debug"
invokestatic java.lang.System.getLogger:(Ljava/lang/String;)Ljava/lang/System$Logger;
putstatic jdk.incubator.http.internal.common.DebugLogger.HPACK:Ljava/lang/System$Logger;
2: invokestatic java.lang.System.nanoTime:()J
putstatic jdk.incubator.http.internal.common.DebugLogger.START_NANOS:J
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.System$Logger, java.util.function.Supplier<java.lang.String>, java.lang.System$Logger$Level, java.lang.System$Logger$Level);
descriptor: (Ljava/lang/System$Logger;Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.incubator.http.internal.common.DebugLogger.dbgTag:Ljava/util/function/Supplier;
2: aload 0
aload 4
putfield jdk.incubator.http.internal.common.DebugLogger.errLevel:Ljava/lang/System$Logger$Level;
3: aload 0
aload 3
putfield jdk.incubator.http.internal.common.DebugLogger.outLevel:Ljava/lang/System$Logger$Level;
4: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.System$Logger
putfield jdk.incubator.http.internal.common.DebugLogger.logger:Ljava/lang/System$Logger;
5: aload 0
aload 0
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
invokevirtual jdk.incubator.http.internal.common.DebugLogger.isEnabled:(Ljava/lang/System$Logger$Level;)Z
putfield jdk.incubator.http.internal.common.DebugLogger.debugOn:Z
6: aload 0
aload 0
getstatic java.lang.System$Logger$Level.TRACE:Ljava/lang/System$Logger$Level;
invokevirtual jdk.incubator.http.internal.common.DebugLogger.isEnabled:(Ljava/lang/System$Logger$Level;)Z
putfield jdk.incubator.http.internal.common.DebugLogger.traceOn:Z
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 8 1 logger Ljava/lang/System$Logger;
0 8 2 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
0 8 3 outLevel Ljava/lang/System$Logger$Level;
0 8 4 errLevel Ljava/lang/System$Logger$Level;
Signature: (Ljava/lang/System$Logger;Ljava/util/function/Supplier<Ljava/lang/String;>;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)V
MethodParameters:
Name Flags
logger
dbgTag
outLevel
errLevel
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.logger:Ljava/lang/System$Logger;
invokeinterface java.lang.System$Logger.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/common/DebugLogger;
private boolean isEnabled(java.lang.System$Logger$Level);
descriptor: (Ljava/lang/System$Logger$Level;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
if_acmpne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
istore 2
start local 2 2: iload 2
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.errLevel:Ljava/lang/System$Logger$Level;
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
if_icmpge 6
3: iload 2
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.outLevel:Ljava/lang/System$Logger$Level;
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
if_icmpge 6
4: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.logger:Ljava/lang/System$Logger;
aload 1
invokeinterface java.lang.System$Logger.isLoggable:(Ljava/lang/System$Logger$Level;)Z
ifne 6
5: iconst_0
ireturn
StackMap locals: int
StackMap stack:
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 7 1 level Ljava/lang/System$Logger$Level;
2 7 2 severity I
MethodParameters:
Name Flags
level
public boolean isLoggable(java.lang.System$Logger$Level);
descriptor: (Ljava/lang/System$Logger$Level;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
if_acmpne 1
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.debugOn:Z
ireturn
1: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.System$Logger$Level.TRACE:Ljava/lang/System$Logger$Level;
if_acmpne 2
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.traceOn:Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.http.internal.common.DebugLogger.isEnabled:(Ljava/lang/System$Logger$Level;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 3 1 level Ljava/lang/System$Logger$Level;
MethodParameters:
Name Flags
level
public void log(java.lang.System$Logger$Level, java.util.ResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/System$Logger$Level;Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
if_acmpne 1
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.debugOn:Z
ifne 1
return
1: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.System$Logger$Level.TRACE:Ljava/lang/System$Logger$Level;
if_acmpne 2
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.traceOn:Z
ifne 2
return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
istore 5
start local 5 3: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.errLevel:Ljava/lang/System$Logger$Level;
getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
if_acmpeq 6
4: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.errLevel:Ljava/lang/System$Logger$Level;
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
iload 5
if_icmpgt 6
5: aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
aload 3
aload 4
aconst_null
invokevirtual jdk.incubator.http.internal.common.DebugLogger.print:(Ljava/io/PrintStream;Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
6: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.outLevel:Ljava/lang/System$Logger$Level;
getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
if_acmpeq 9
7: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.outLevel:Ljava/lang/System$Logger$Level;
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
iload 5
if_icmpgt 9
8: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
aload 3
aload 4
aconst_null
invokevirtual jdk.incubator.http.internal.common.DebugLogger.print:(Ljava/io/PrintStream;Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.logger:Ljava/lang/System$Logger;
aload 1
invokeinterface java.lang.System$Logger.isLoggable:(Ljava/lang/System$Logger$Level;)Z
ifeq 14
10: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.logger:Ljava/lang/System$Logger;
aload 1
aload 2
11: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
aload 4
invokevirtual jdk.incubator.http.internal.common.DebugLogger.getFormat:(Ljava/lang/StringBuilder;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: aload 4
13: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 15 1 level Ljava/lang/System$Logger$Level;
0 15 2 unused Ljava/util/ResourceBundle;
0 15 3 format Ljava/lang/String;
0 15 4 params [Ljava/lang/Object;
3 15 5 severity I
MethodParameters:
Name Flags
level
unused
format
params
public void log(java.lang.System$Logger$Level, java.util.ResourceBundle, java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/System$Logger$Level;Ljava/util/ResourceBundle;Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
if_acmpne 1
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.debugOn:Z
ifne 1
return
1: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.System$Logger$Level.TRACE:Ljava/lang/System$Logger$Level;
if_acmpne 2
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.traceOn:Z
ifne 2
return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.errLevel:Ljava/lang/System$Logger$Level;
getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
if_acmpeq 5
3: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.errLevel:Ljava/lang/System$Logger$Level;
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
aload 1
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
if_icmpgt 5
4: aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
aload 3
aconst_null
aload 4
invokevirtual jdk.incubator.http.internal.common.DebugLogger.print:(Ljava/io/PrintStream;Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.outLevel:Ljava/lang/System$Logger$Level;
getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
if_acmpeq 8
6: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.outLevel:Ljava/lang/System$Logger$Level;
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
aload 1
invokevirtual java.lang.System$Logger$Level.getSeverity:()I
if_icmpgt 8
7: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
aload 3
aconst_null
aload 4
invokevirtual jdk.incubator.http.internal.common.DebugLogger.print:(Ljava/io/PrintStream;Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.logger:Ljava/lang/System$Logger;
aload 1
invokeinterface java.lang.System$Logger.isLoggable:(Ljava/lang/System$Logger$Level;)Z
ifeq 13
9: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.logger:Ljava/lang/System$Logger;
aload 1
aload 2
10: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
aconst_null
invokevirtual jdk.incubator.http.internal.common.DebugLogger.getFormat:(Ljava/lang/StringBuilder;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: aload 4
12: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/ResourceBundle;Ljava/lang/String;Ljava/lang/Throwable;)V
13: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 14 1 level Ljava/lang/System$Logger$Level;
0 14 2 unused Ljava/util/ResourceBundle;
0 14 3 msg Ljava/lang/String;
0 14 4 thrown Ljava/lang/Throwable;
MethodParameters:
Name Flags
level
unused
msg
thrown
private void print(java.io.PrintStream, java.lang.System$Logger$Level, java.lang.String, java.lang.Object[], java.lang.Throwable);
descriptor: (Ljava/io/PrintStream;Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 6
start local 6 1: aload 6
aload 2
invokevirtual java.lang.System$Logger$Level.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 0
aload 6
aload 3
aload 4
invokevirtual jdk.incubator.http.internal.common.DebugLogger.format:(Ljava/lang/StringBuilder;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/StringBuilder;
astore 6
3: aload 5
ifnull 4
aload 6
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 5
ifnull 7
6: aload 5
aload 1
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
7: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 8 1 out Ljava/io/PrintStream;
0 8 2 level Ljava/lang/System$Logger$Level;
0 8 3 msg Ljava/lang/String;
0 8 4 params [Ljava/lang/Object;
0 8 5 t Ljava/lang/Throwable;
1 8 6 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
out
level
msg
params
t
private java.lang.StringBuilder decorate(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.dbgTag:Ljava/util/function/Supplier;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.incubator.http.internal.common.DebugLogger.dbgTag:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
2: astore 3
start local 3 3: aload 2
ifnonnull 4
ldc ""
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 2
StackMap locals:
StackMap stack: java.lang.String
5: astore 4
start local 4 6: invokestatic java.lang.System.nanoTime:()J
getstatic jdk.incubator.http.internal.common.DebugLogger.START_NANOS:J
lsub
lstore 5
start local 5 7: lload 5
ldc 1000000
ldiv
lstore 7
start local 7 8: lload 7
ldc 1000
ldiv
lstore 9
start local 9 9: aload 1
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
10: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: lload 9
lconst_0
lcmp
ifle 13
12: aload 1
lload 9
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
bipush 115
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: StackMap locals: jdk.incubator.http.internal.common.DebugLogger java.lang.StringBuilder java.lang.String java.lang.String java.lang.String long long long
StackMap stack:
lload 7
ldc 1000
lrem
lstore 7
14: lload 7
lconst_0
lcmp
ifle 17
15: lload 9
lconst_0
lcmp
ifle 16
aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 1
lload 7
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "ms"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: aload 3
ifnull 20
19: aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 1
areturn
end local 9 end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 22 1 sb Ljava/lang/StringBuilder;
0 22 2 msg Ljava/lang/String;
3 22 3 tag Ljava/lang/String;
6 22 4 res Ljava/lang/String;
7 22 5 elapsed J
8 22 7 millis J
9 22 9 secs J
MethodParameters:
Name Flags
sb
msg
private java.lang.StringBuilder getFormat(java.lang.StringBuilder, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 3
ifnull 1
aload 3
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
2: StackMap locals:
StackMap stack:
aload 2
ldc "{0}"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 3
aload 2
ldc "{1}"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
4: StackMap locals:
StackMap stack:
aload 2
ldc "%s"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 5
aload 2
ldc "%d"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 9
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
pop
8: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 10 1 sb Ljava/lang/StringBuilder;
0 10 2 format Ljava/lang/String;
0 10 3 params [Ljava/lang/Object;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
MethodParameters:
Name Flags
sb
format
params
private java.lang.StringBuilder format(java.lang.StringBuilder, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 3
ifnull 1
aload 3
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
2: StackMap locals:
StackMap stack:
aload 2
ldc "{0}"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 3
aload 2
ldc "{1}"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
4: StackMap locals:
StackMap stack:
aload 2
ldc "%s"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 5
aload 2
ldc "%d"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 9
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
pop
8: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.DebugLogger.decorate:(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/internal/common/DebugLogger;
0 10 1 sb Ljava/lang/StringBuilder;
0 10 2 format Ljava/lang/String;
0 10 3 params [Ljava/lang/Object;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
MethodParameters:
Name Flags
sb
format
params
public static jdk.incubator.http.internal.common.DebugLogger createHttpLogger(java.util.function.Supplier<java.lang.String>, java.lang.System$Logger$Level, java.lang.System$Logger$Level);
descriptor: (Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)Ljdk/incubator/http/internal/common/DebugLogger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.incubator.http.internal.common.DebugLogger
dup
getstatic jdk.incubator.http.internal.common.DebugLogger.HTTP:Ljava/lang/System$Logger;
aload 0
aload 1
aload 2
invokespecial jdk.incubator.http.internal.common.DebugLogger.<init>:(Ljava/lang/System$Logger;Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
0 1 1 outLevel Ljava/lang/System$Logger$Level;
0 1 2 errLevel Ljava/lang/System$Logger$Level;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)Ljdk/incubator/http/internal/common/DebugLogger;
MethodParameters:
Name Flags
dbgTag
outLevel
errLevel
public static jdk.incubator.http.internal.common.DebugLogger createHpackLogger(java.util.function.Supplier<java.lang.String>, java.lang.System$Logger$Level, java.lang.System$Logger$Level);
descriptor: (Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)Ljdk/incubator/http/internal/common/DebugLogger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.incubator.http.internal.common.DebugLogger
dup
getstatic jdk.incubator.http.internal.common.DebugLogger.HPACK:Ljava/lang/System$Logger;
aload 0
aload 1
aload 2
invokespecial jdk.incubator.http.internal.common.DebugLogger.<init>:(Ljava/lang/System$Logger;Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
0 1 1 outLevel Ljava/lang/System$Logger$Level;
0 1 2 errLevel Ljava/lang/System$Logger$Level;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)Ljdk/incubator/http/internal/common/DebugLogger;
MethodParameters:
Name Flags
dbgTag
outLevel
errLevel
}
SourceFile: "DebugLogger.java"
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