final class org.graalvm.compiler.hotspot.BootstrapWatchDog extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.BootstrapWatchDog
super_class: java.lang.Thread
{
private final java.util.concurrent.atomic.AtomicInteger compilations;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean hitCriticalRateOrTimeout;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private double maxRate;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private final org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider graalRuntime;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int INITIAL_DELAY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private static final long EPOCH;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private final int timeout;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double maxRateDecrease;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.Thread, org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch> requests;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Thread;Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;>;
private final java.lang.ThreadLocal<org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch> requestForThread;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;>;
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 Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
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 org.graalvm.compiler.hotspot.BootstrapWatchDog.$assertionsDisabled:Z
3: invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
ldc "debug.graal.BootstrapWatchDog"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic org.graalvm.compiler.hotspot.BootstrapWatchDog.DEBUG:Z
4: return
LocalVariableTable:
Start End Slot Name Signature
static org.graalvm.compiler.hotspot.BootstrapWatchDog maybeCreate(org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;)Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 1
start local 1 1: getstatic org.graalvm.compiler.hotspot.BootstrapWatchDog$Options.BootstrapTimeout:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
ldc 60.0
dmul
d2i
istore 2
start local 2 2: getstatic org.graalvm.compiler.hotspot.BootstrapWatchDog$Options.BootstrapWatchDogCriticalRateRatio:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
dstore 3
start local 3 3: dload 3
dconst_0
dcmpg
ifgt 4
iload 2
ifne 4
aconst_null
goto 5
StackMap locals: org.graalvm.compiler.options.OptionValues int double
StackMap stack:
4: new org.graalvm.compiler.hotspot.BootstrapWatchDog
dup
aload 0
iload 2
dload 3
invokespecial org.graalvm.compiler.hotspot.BootstrapWatchDog.<init>:(Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;ID)V
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.BootstrapWatchDog
5: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 graalRuntime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
1 6 1 options Lorg/graalvm/compiler/options/OptionValues;
2 6 2 timeout I
3 6 3 maxRateDecrease D
MethodParameters:
Name Flags
graalRuntime
private void <init>(org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider, int, double);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;ID)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Thread.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.compilations:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.requests:Ljava/util/Map;
3: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.requestForThread:Ljava/lang/ThreadLocal;
4: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog.setName:(Ljava/lang/String;)V
5: aload 0
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog.start:()V
6: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
7: aload 0
iload 2
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.timeout:I
8: aload 0
dload 3
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.maxRateDecrease:D
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
0 10 1 graalRuntime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
0 10 2 timeout I
0 10 3 maxRateDecrease D
MethodParameters:
Name Flags
graalRuntime
timeout
maxRateDecrease
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=17, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.BootstrapWatchDog.DEBUG:Z
ifeq 2
1: ldc "%nStarted %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 3: aconst_null
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: ldc 10000
invokestatic java.lang.Thread.sleep:(J)V
6: StackMap locals: long java.util.Map java.util.Map
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.compilations:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 5
start local 5 7: invokestatic java.lang.System.currentTimeMillis:()J
lload 1
lsub
lstore 6
start local 6 8: iload 5
i2d
lload 6
invokestatic org.graalvm.compiler.hotspot.BootstrapWatchDog.seconds:(J)D
ddiv
dstore 8
start local 8 9: getstatic org.graalvm.compiler.hotspot.BootstrapWatchDog.DEBUG:Z
ifeq 11
10: ldc "%.2f: compilation rate is %.2f/sec%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 6
invokestatic org.graalvm.compiler.hotspot.BootstrapWatchDog.seconds:(J)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_1
dload 8
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals: int long double
StackMap stack:
dload 8
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.maxRate:D
dcmpl
ifle 14
12: aload 0
dload 8
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.maxRate:D
13: goto 24
StackMap locals:
StackMap stack:
14: dload 8
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.maxRate:D
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.maxRateDecrease:D
dmul
dcmpg
ifge 24
15: ldc "%nAfter %.2f seconds bootstrapping, compilation rate is %.2f compilations per second which is below %.2f times the max compilation rate of %.2f%n"
iconst_4
anewarray java.lang.Object
dup
iconst_0
16: lload 6
invokestatic org.graalvm.compiler.hotspot.BootstrapWatchDog.seconds:(J)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_1
dload 8
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.maxRateDecrease:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_3
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.maxRate:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
17: invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
18: ldc "To enable monitoring of long running individual compilations, re-run with -D%s%s=%.2f%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
19: ldc "graal."
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.CompilationWatchDog$Options.CompilationWatchDogStartDelay:Lorg/graalvm/compiler/options/OptionKey;
invokevirtual org.graalvm.compiler.options.OptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_2
20: lload 6
invokestatic org.graalvm.compiler.hotspot.BootstrapWatchDog.seconds:(J)D
ldc 5.0
dsub
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
21: invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
22: aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.hitCriticalRateOrTimeout:Z
23: return
24: StackMap locals:
StackMap stack:
lload 6
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.timeout:I
sipush 1000
imul
i2l
lcmp
ifle 56
25: aload 3
ifnonnull 33
26: aload 0
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog.snapshotRequests:()Ljava/util/Map;
astore 3
27: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
28: aload 3
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 31
StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog long java.util.Map java.util.Map int long double top java.util.Iterator
StackMap stack:
29: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Thread
astore 10
start local 10 30: aload 4
aload 10
aload 10
invokevirtual java.lang.Thread.getStackTrace:()[Ljava/lang/StackTraceElement;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 31: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
32: goto 56
33: StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog long java.util.Map java.util.Map int long double
StackMap stack:
ldc "%nHit bootstrapping timeout after %.2f seconds%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 6
invokestatic org.graalvm.compiler.hotspot.BootstrapWatchDog.seconds:(J)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
34: aload 0
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog.snapshotRequests:()Ljava/util/Map;
astore 10
start local 10 35: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 53
StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog long java.util.Map java.util.Map int long double java.util.Map top java.util.Iterator
StackMap stack:
36: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 11
start local 11 37: aload 11
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Thread
astore 13
start local 13 38: aload 3
aload 13
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch.request:Ljdk/vm/ci/code/CompilationRequest;
astore 14
start local 14 39: aload 10
aload 13
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch.request:Ljdk/vm/ci/code/CompilationRequest;
astore 15
start local 15 40: aload 14
ifnull 51
aload 14
aload 15
if_acmpne 51
41: aload 13
invokevirtual java.lang.Thread.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 16
start local 16 42: ldc "Printing stack trace for current compilation of %s lasting more than %d seconds:%n%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
43: aload 14
invokevirtual jdk.vm.ci.code.CompilationRequest.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.fmt:(Ljava/lang/Object;)Ljava/util/Formattable;
aastore
dup
iconst_1
ldc 5
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 16
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.fmt:(Ljava/lang/Object;)Ljava/util/Formattable;
aastore
44: invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
45: getstatic org.graalvm.compiler.hotspot.BootstrapWatchDog.$assertionsDisabled:Z
ifne 46
aload 4
ifnonnull 46
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
46: StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog long java.util.Map java.util.Map int long double java.util.Map java.util.Map$Entry java.util.Iterator java.lang.Thread jdk.vm.ci.code.CompilationRequest jdk.vm.ci.code.CompilationRequest java.lang.StackTraceElement[]
StackMap stack:
aload 4
aload 13
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Object[]
aload 16
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 53
47: ldc "\t** Identical stack trace %d seconds ago, implying a hung compilation **%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
48: ldc 5
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
49: invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 16 50: goto 53
51: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.BootstrapWatchDog.DEBUG:Z
ifeq 53
52: ldc "%s was compiling %s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 13
aastore
dup
iconst_1
aload 14
invokevirtual jdk.vm.ci.code.CompilationRequest.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.fmt:(Ljava/lang/Object;)Ljava/util/Formattable;
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 15 end local 14 end local 13 end local 11 53: StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog long java.util.Map java.util.Map int long double java.util.Map top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
54: aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.BootstrapWatchDog.hitCriticalRateOrTimeout:Z
55: return
end local 10 56: StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog long java.util.Map java.util.Map int long double
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.isBootstrapping:()Z
ifne 58
57: return
58: StackMap locals:
StackMap stack:
ldc 5000
invokestatic java.lang.Thread.sleep:(J)V
end local 8 end local 6 end local 5 59: goto 6
60: StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog long java.util.Map java.util.Map
StackMap stack: java.lang.InterruptedException
astore 5
start local 5 61: aload 5
getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
invokevirtual java.lang.InterruptedException.printStackTrace:(Ljava/io/PrintStream;)V
end local 5 62: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 63 0 this Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
3 63 1 start J
4 63 3 requestsAtTimeout Ljava/util/Map<Ljava/lang/Thread;Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;>;
5 63 4 stacksAtTimeout Ljava/util/Map<Ljava/lang/Thread;[Ljava/lang/StackTraceElement;>;
7 59 5 currentCompilations I
8 59 6 elapsed J
9 59 8 rate D
30 31 10 t Ljava/lang/Thread;
35 56 10 requestsNow Ljava/util/Map<Ljava/lang/Thread;Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;>;
37 53 11 e Ljava/util/Map$Entry<Ljava/lang/Thread;Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;>;
38 53 13 t Ljava/lang/Thread;
39 53 14 request1 Ljdk/vm/ci/code/CompilationRequest;
40 53 15 request2 Ljdk/vm/ci/code/CompilationRequest;
42 50 16 stackTraceNow [Ljava/lang/StackTraceElement;
61 62 5 e Ljava/lang/InterruptedException;
Exception table:
from to target type
5 23 60 Class java.lang.InterruptedException
24 55 60 Class java.lang.InterruptedException
56 57 60 Class java.lang.InterruptedException
58 60 60 Class java.lang.InterruptedException
private java.util.Map<java.lang.Thread, org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch> snapshotRequests();
descriptor: ()Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.requests:Ljava/util/Map;
dup
astore 1
monitorenter
1: new java.util.HashMap
dup
aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.requests:Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
aload 1
monitorexit
2: areturn
3: StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog java.util.Map
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Ljava/util/Map<Ljava/lang/Thread;Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;>;
private static double seconds(long);
descriptor: (J)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
l2d
ldc 1000.0
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ms J
MethodParameters:
Name Flags
ms
boolean hitCriticalCompilationRateOrTimeout();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.hitCriticalRateOrTimeout:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch watch(jdk.vm.ci.code.CompilationRequest);
descriptor: (Ljdk/vm/ci/code/CompilationRequest;)Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.requestForThread:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch
astore 2
start local 2 1: aload 2
ifnonnull 9
2: new org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch.<init>:(Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;)V
astore 2
3: aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.requests:Ljava/util/Map;
dup
astore 3
monitorenter
4: aload 0
getfield org.graalvm.compiler.hotspot.BootstrapWatchDog.requests:Ljava/util/Map;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 3
monitorexit
6: goto 9
StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog jdk.vm.ci.code.CompilationRequest org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch java.util.Map
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch.open:(Ljdk/vm/ci/code/CompilationRequest;)V
10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
0 11 1 request Ljdk/vm/ci/code/CompilationRequest;
1 11 2 watch Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;
Exception table:
from to target type
4 6 7 any
7 8 7 any
MethodParameters:
Name Flags
request
}
SourceFile: "BootstrapWatchDog.java"
NestMembers:
org.graalvm.compiler.hotspot.BootstrapWatchDog$Options org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public Options = org.graalvm.compiler.hotspot.BootstrapWatchDog$Options of org.graalvm.compiler.hotspot.BootstrapWatchDog
Watch = org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch of org.graalvm.compiler.hotspot.BootstrapWatchDog
public Options = org.graalvm.compiler.hotspot.CompilationWatchDog$Options of org.graalvm.compiler.hotspot.CompilationWatchDog