public final class org.graalvm.compiler.core.common.util.CompilationAlarm implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.core.common.util.CompilationAlarm
super_class: java.lang.Object
{
private static final java.lang.ThreadLocal<org.graalvm.compiler.core.common.util.CompilationAlarm> currentAlarm;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/graalvm/compiler/core/common/util/CompilationAlarm;>;
private static final org.graalvm.compiler.core.common.util.CompilationAlarm NEVER_EXPIRES;
descriptor: Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final long expiration;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.graalvm.compiler.core.common.util.CompilationAlarm.currentAlarm:Ljava/lang/ThreadLocal;
1: new org.graalvm.compiler.core.common.util.CompilationAlarm
dup
lconst_0
invokespecial org.graalvm.compiler.core.common.util.CompilationAlarm.<init>:(J)V
putstatic org.graalvm.compiler.core.common.util.CompilationAlarm.NEVER_EXPIRES:Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
putfield org.graalvm.compiler.core.common.util.CompilationAlarm.expiration:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
0 3 1 expiration J
MethodParameters:
Name Flags
expiration
public static org.graalvm.compiler.core.common.util.CompilationAlarm current();
descriptor: ()Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: getstatic org.graalvm.compiler.core.common.util.CompilationAlarm.currentAlarm:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.util.CompilationAlarm
astore 0
start local 0 1: aload 0
ifnonnull 2
getstatic org.graalvm.compiler.core.common.util.CompilationAlarm.NEVER_EXPIRES:Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
goto 3
StackMap locals: org.graalvm.compiler.core.common.util.CompilationAlarm
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: org.graalvm.compiler.core.common.util.CompilationAlarm
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 alarm Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
public boolean hasExpired();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.core.common.util.CompilationAlarm.NEVER_EXPIRES:Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
if_acmpeq 1
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield org.graalvm.compiler.core.common.util.CompilationAlarm.expiration:J
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.core.common.util.CompilationAlarm.NEVER_EXPIRES:Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
if_acmpeq 2
1: getstatic org.graalvm.compiler.core.common.util.CompilationAlarm.currentAlarm:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
public static org.graalvm.compiler.core.common.util.CompilationAlarm trackCompilationPeriod(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.debug.Assertions.assertionsEnabled:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.graalvm.compiler.core.common.util.CompilationAlarm$Options.CompilationExpirationPeriod:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ifle 10
4: getstatic org.graalvm.compiler.core.common.util.CompilationAlarm.currentAlarm:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.util.CompilationAlarm
astore 2
start local 2 5: aload 2
ifnonnull 10
6: invokestatic java.lang.System.currentTimeMillis:()J
iload 1
sipush 1000
imul
i2l
ladd
lstore 3
start local 3 7: new org.graalvm.compiler.core.common.util.CompilationAlarm
dup
lload 3
invokespecial org.graalvm.compiler.core.common.util.CompilationAlarm.<init>:(J)V
astore 2
8: getstatic org.graalvm.compiler.core.common.util.CompilationAlarm.currentAlarm:Ljava/lang/ThreadLocal;
aload 2
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
9: aload 2
areturn
end local 3 end local 2 10: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 options Lorg/graalvm/compiler/options/OptionValues;
3 11 1 period I
5 10 2 current Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
7 10 3 expiration J
MethodParameters:
Name Flags
options
}
SourceFile: "CompilationAlarm.java"
NestMembers:
org.graalvm.compiler.core.common.util.CompilationAlarm$Options
InnerClasses:
public Options = org.graalvm.compiler.core.common.util.CompilationAlarm$Options of org.graalvm.compiler.core.common.util.CompilationAlarm