final class org.graalvm.compiler.debug.TimerKeyImpl extends org.graalvm.compiler.debug.AccumulatedKey implements org.graalvm.compiler.debug.TimerKey
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.debug.TimerKeyImpl
super_class: org.graalvm.compiler.debug.AccumulatedKey
{
void <init>(java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new org.graalvm.compiler.debug.TimerKeyImpl$FlatTimer
dup
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.debug.TimerKeyImpl$FlatTimer.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.debug.AccumulatedKey.<init>:(Lorg/graalvm/compiler/debug/AbstractKey;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 0
getfield org.graalvm.compiler.debug.TimerKeyImpl.flat:Lorg/graalvm/compiler/debug/AbstractKey;
checkcast org.graalvm.compiler.debug.TimerKeyImpl$FlatTimer
aload 0
putfield org.graalvm.compiler.debug.TimerKeyImpl$FlatTimer.accm:Lorg/graalvm/compiler/debug/TimerKeyImpl;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/debug/TimerKeyImpl;
0 3 1 nameFormat Ljava/lang/String;
0 3 2 nameArg1 Ljava/lang/Object;
0 3 3 nameArg2 Ljava/lang/Object;
MethodParameters:
Name Flags
nameFormat
nameArg1
nameArg2
public org.graalvm.compiler.debug.DebugCloseable start(org.graalvm.compiler.debug.DebugContext);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.graalvm.compiler.debug.DebugContext.isTimerEnabled:(Lorg/graalvm/compiler/debug/TimerKeyImpl;)Z
ifeq 4
1: new org.graalvm.compiler.debug.TimerKeyImpl$Timer
dup
aload 0
aload 1
invokespecial org.graalvm.compiler.debug.TimerKeyImpl$Timer.<init>:(Lorg/graalvm/compiler/debug/AccumulatedKey;Lorg/graalvm/compiler/debug/DebugContext;)V
astore 2
start local 2 2: aload 1
aload 2
putfield org.graalvm.compiler.debug.DebugContext.currentTimer:Lorg/graalvm/compiler/debug/CloseableCounter;
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.debug.DebugCloseable.VOID_CLOSEABLE:Lorg/graalvm/compiler/debug/DebugCloseable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/debug/TimerKeyImpl;
0 5 1 debug Lorg/graalvm/compiler/debug/DebugContext;
2 4 2 result Lorg/graalvm/compiler/debug/TimerKeyImpl$Timer;
MethodParameters:
Name Flags
debug
public static java.lang.String valueToString(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: ldc "%d.%d ms"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 0
ldc 1000000
ldiv
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
lload 0
ldc 100000
ldiv
ldc 10
lrem
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
MethodParameters:
Name Flags
value
public org.graalvm.compiler.debug.TimerKey getFlat();
descriptor: ()Lorg/graalvm/compiler/debug/TimerKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.TimerKeyImpl.flat:Lorg/graalvm/compiler/debug/AbstractKey;
checkcast org.graalvm.compiler.debug.TimerKeyImpl$FlatTimer
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/TimerKeyImpl;
public java.lang.String toHumanReadableFormat(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic org.graalvm.compiler.debug.TimerKeyImpl.valueToString:(J)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/TimerKeyImpl;
0 1 1 value J
MethodParameters:
Name Flags
value
public java.util.concurrent.TimeUnit getTimeUnit();
descriptor: ()Ljava/util/concurrent/TimeUnit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/TimerKeyImpl;
public jdk.internal.vm.compiler.collections.Pair<java.lang.String, java.lang.String> toCSVFormat(long);
descriptor: (J)Ljdk/internal/vm/compiler/collections/Pair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic org.graalvm.compiler.debug.TimerKeyImpl.toCSVFormatHelper:(J)Ljdk/internal/vm/compiler/collections/Pair;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/TimerKeyImpl;
0 1 1 value J
Signature: (J)Ljdk/internal/vm/compiler/collections/Pair<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
value
static jdk.internal.vm.compiler.collections.Pair<java.lang.String, java.lang.String> toCSVFormatHelper(long);
descriptor: (J)Ljdk/internal/vm/compiler/collections/Pair;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 1000
ldiv
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
ldc "us"
invokestatic jdk.internal.vm.compiler.collections.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/internal/vm/compiler/collections/Pair;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
Signature: (J)Ljdk/internal/vm/compiler/collections/Pair<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
value
public org.graalvm.compiler.debug.TimerKey doc(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/debug/TimerKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.debug.TimerKeyImpl.setDoc:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/debug/TimerKeyImpl;
0 2 1 doc Ljava/lang/String;
MethodParameters:
Name Flags
doc
public org.graalvm.compiler.debug.MetricKey doc(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/debug/MetricKey;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.debug.TimerKeyImpl.doc:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/TimerKey;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TimerKeyImpl.java"
NestMembers:
org.graalvm.compiler.debug.TimerKeyImpl$FlatTimer org.graalvm.compiler.debug.TimerKeyImpl$Timer
InnerClasses:
FlatTimer = org.graalvm.compiler.debug.TimerKeyImpl$FlatTimer of org.graalvm.compiler.debug.TimerKeyImpl
final Timer = org.graalvm.compiler.debug.TimerKeyImpl$Timer of org.graalvm.compiler.debug.TimerKeyImpl