public final class org.graalvm.compiler.debug.internal.TimerImpl extends org.graalvm.compiler.debug.internal.AccumulatedDebugValue implements org.graalvm.compiler.debug.DebugTimer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.debug.internal.TimerImpl
super_class: org.graalvm.compiler.debug.internal.AccumulatedDebugValue
{
private final boolean intercepting;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.ThreadLocal<org.graalvm.compiler.debug.internal.CloseableCounterImpl> currentTimer;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/graalvm/compiler/debug/internal/CloseableCounterImpl;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.graalvm.compiler.debug.internal.TimerImpl.currentTimer:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
new org.graalvm.compiler.debug.internal.TimerImpl$FlatTimer
dup
aload 1
iload 2
invokespecial org.graalvm.compiler.debug.internal.TimerImpl$FlatTimer.<init>:(Ljava/lang/String;Z)V
invokespecial org.graalvm.compiler.debug.internal.AccumulatedDebugValue.<init>:(Ljava/lang/String;ZLorg/graalvm/compiler/debug/internal/DebugValue;)V
1: aload 0
getfield org.graalvm.compiler.debug.internal.TimerImpl.flat:Lorg/graalvm/compiler/debug/internal/DebugValue;
checkcast org.graalvm.compiler.debug.internal.TimerImpl$FlatTimer
aload 0
putfield org.graalvm.compiler.debug.internal.TimerImpl$FlatTimer.accm:Lorg/graalvm/compiler/debug/internal/TimerImpl;
2: aload 0
iload 3
putfield org.graalvm.compiler.debug.internal.TimerImpl.intercepting:Z
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/debug/internal/TimerImpl;
0 4 1 name Ljava/lang/String;
0 4 2 conditional Z
0 4 3 intercepting Z
MethodParameters:
Name Flags
name
conditional
intercepting
public org.graalvm.compiler.debug.DebugCloseable start();
descriptor: ()Lorg/graalvm/compiler/debug/DebugCloseable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.debug.internal.TimerImpl.isConditional:()Z
ifeq 1
invokestatic org.graalvm.compiler.debug.Debug.isTimeEnabled:()Z
ifeq 6
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.debug.internal.TimerImpl.intercepting:Z
ifeq 2
new org.graalvm.compiler.debug.internal.TimerImpl$InterceptingTimer
dup
aload 0
aload 0
invokespecial org.graalvm.compiler.debug.internal.TimerImpl$InterceptingTimer.<init>:(Lorg/graalvm/compiler/debug/internal/TimerImpl;Lorg/graalvm/compiler/debug/internal/TimerImpl;)V
goto 3
StackMap locals:
StackMap stack:
2: new org.graalvm.compiler.debug.internal.TimerImpl$Timer
dup
aload 0
aload 0
invokespecial org.graalvm.compiler.debug.internal.TimerImpl$Timer.<init>:(Lorg/graalvm/compiler/debug/internal/TimerImpl;Lorg/graalvm/compiler/debug/internal/TimerImpl;)V
StackMap locals:
StackMap stack: org.graalvm.compiler.debug.internal.TimerImpl$AbstractTimer
3: astore 1
start local 1 4: getstatic org.graalvm.compiler.debug.internal.TimerImpl.currentTimer:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
5: aload 1
areturn
end local 1 6: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.debug.DebugCloseable.VOID_CLOSEABLE:Lorg/graalvm/compiler/debug/DebugCloseable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/debug/internal/TimerImpl;
4 6 1 result Lorg/graalvm/compiler/debug/internal/TimerImpl$AbstractTimer;
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.DebugTimer getFlat();
descriptor: ()Lorg/graalvm/compiler/debug/DebugTimer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.internal.TimerImpl.flat:Lorg/graalvm/compiler/debug/internal/DebugValue;
checkcast org.graalvm.compiler.debug.internal.TimerImpl$FlatTimer
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/internal/TimerImpl;
public java.lang.String toString(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.internal.TimerImpl.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/internal/TimerImpl;
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/internal/TimerImpl;
public java.lang.String rawUnit();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "us"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/internal/TimerImpl;
public java.lang.String toRawString(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.internal.TimerImpl.valueToRawString:(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/internal/TimerImpl;
0 1 1 value J
MethodParameters:
Name Flags
value
public static java.lang.String valueToRawString(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, 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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
MethodParameters:
Name Flags
value
}
SourceFile: "TimerImpl.java"
NestMembers:
org.graalvm.compiler.debug.internal.TimerImpl$AbstractTimer org.graalvm.compiler.debug.internal.TimerImpl$FlatTimer org.graalvm.compiler.debug.internal.TimerImpl$InterceptingTimer org.graalvm.compiler.debug.internal.TimerImpl$Timer
InnerClasses:
private abstract AbstractTimer = org.graalvm.compiler.debug.internal.TimerImpl$AbstractTimer of org.graalvm.compiler.debug.internal.TimerImpl
FlatTimer = org.graalvm.compiler.debug.internal.TimerImpl$FlatTimer of org.graalvm.compiler.debug.internal.TimerImpl
private final InterceptingTimer = org.graalvm.compiler.debug.internal.TimerImpl$InterceptingTimer of org.graalvm.compiler.debug.internal.TimerImpl
private final Timer = org.graalvm.compiler.debug.internal.TimerImpl$Timer of org.graalvm.compiler.debug.internal.TimerImpl