public final class jdk.vm.ci.common.InitTimer implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.common.InitTimer
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long start;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final boolean ENABLED;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.util.concurrent.atomic.AtomicInteger nesting;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String SPACES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: " "
static java.lang.Thread initializingThread;
descriptor: Ljava/lang/Thread;
flags: (0x0008) ACC_STATIC
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=2, locals=0, args_size=0
0: ldc Ljdk/vm/ci/common/InitTimer;
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.vm.ci.common.InitTimer.$assertionsDisabled:Z
3: ldc "jvmci.InitTimer"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic jdk.vm.ci.common.InitTimer.ENABLED:Z
4: getstatic jdk.vm.ci.common.InitTimer.ENABLED:Z
ifeq 5
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
goto 6
StackMap locals:
StackMap stack:
5: aconst_null
StackMap locals:
StackMap stack: java.util.concurrent.atomic.AtomicInteger
6: putstatic jdk.vm.ci.common.InitTimer.nesting:Ljava/util/concurrent/atomic/AtomicInteger;
7: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic jdk.vm.ci.common.InitTimer.nesting:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
istore 2
start local 2 2: iload 2
ifne 6
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putstatic jdk.vm.ci.common.InitTimer.initializingThread:Ljava/lang/Thread;
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "INITIALIZING THREAD: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.vm.ci.common.InitTimer.initializingThread:Ljava/lang/Thread;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: goto 7
6: StackMap locals: jdk.vm.ci.common.InitTimer java.lang.String int
StackMap stack:
getstatic jdk.vm.ci.common.InitTimer.$assertionsDisabled:Z
ifne 7
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
getstatic jdk.vm.ci.common.InitTimer.initializingThread:Ljava/lang/Thread;
if_acmpeq 7
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic jdk.vm.ci.common.InitTimer.initializingThread:Ljava/lang/Thread;
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
7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.vm.ci.common.InitTimer.name:Ljava/lang/String;
8: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield jdk.vm.ci.common.InitTimer.start:J
9: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "START: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
iconst_0
iload 2
iconst_2
imul
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/vm/ci/common/InitTimer;
0 11 1 name Ljava/lang/String;
2 11 2 n I
MethodParameters:
Name Flags
name
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 1: getstatic jdk.vm.ci.common.InitTimer.nesting:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
istore 3
start local 3 2: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " DONE: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
iconst_0
iload 3
iconst_2
imul
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.vm.ci.common.InitTimer.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
aload 0
getfield jdk.vm.ci.common.InitTimer.start:J
lsub
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " ms]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: iload 3
ifne 5
4: aconst_null
putstatic jdk.vm.ci.common.InitTimer.initializingThread:Ljava/lang/Thread;
5: StackMap locals: long int
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/common/InitTimer;
1 6 1 end J
2 6 3 n I
RuntimeInvisibleAnnotations:
jdk.vm.ci.common.SuppressFBWarnings(value = {"ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"}, justification = "only the initializing thread accesses this field")
public static jdk.vm.ci.common.InitTimer timer(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/vm/ci/common/InitTimer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.vm.ci.common.InitTimer.ENABLED:Z
ifeq 1
new jdk.vm.ci.common.InitTimer
dup
aload 0
invokespecial jdk.vm.ci.common.InitTimer.<init>:(Ljava/lang/String;)V
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: jdk.vm.ci.common.InitTimer
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static jdk.vm.ci.common.InitTimer timer(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljdk/vm/ci/common/InitTimer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.vm.ci.common.InitTimer.ENABLED:Z
ifeq 1
new jdk.vm.ci.common.InitTimer
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.vm.ci.common.InitTimer.<init>:(Ljava/lang/String;)V
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: jdk.vm.ci.common.InitTimer
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
0 3 1 suffix Ljava/lang/Object;
MethodParameters:
Name Flags
name
suffix
}
SourceFile: "InitTimer.java"