class org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1
super_class: java.lang.Thread
{
long lastTime;
descriptor: J
flags: (0x0000)
private final org.graalvm.compiler.options.OptionValues val$options;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final jdk.vm.ci.hotspot.HotSpotJVMCIRuntime val$jvmciRuntime;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.graalvm.compiler.options.OptionValues, jdk.vm.ci.hotspot.HotSpotJVMCIRuntime);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
0: .line 448
aload 0 /* this */
aload 1
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.val$options:Lorg/graalvm/compiler/options/OptionValues;
aload 0 /* this */
aload 2
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.val$jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0 /* this */
invokespecial java.lang.Thread.<init>:()V
1: .line 449
aload 0 /* this */
invokestatic java.lang.System.nanoTime:()J
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.lastTime:J
2: .line 448
return
end local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$1;
MethodParameters:
Name Flags
val$options final
val$jvmciRuntime final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=1
start local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
0: .line 453
aconst_null
astore 1
aconst_null
astore 2
1: aload 0 /* this */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.val$options:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters.getPrintStream:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$PrintStreamScope;
astore 3 /* scope */
start local 3 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope scope
2: .line 456
StackMap locals: java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope
StackMap stack:
getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.TimedDynamicCounters:Lorg/graalvm/compiler/options/OptionKey;
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.val$options:Lorg/graalvm/compiler/options/OptionValues;
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
i2l
invokestatic java.lang.Thread.sleep:(J)V
3: .line 457
goto 5
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: pop
5: .line 459
StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 4 /* time */
start local 4 // long time
6: .line 460
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.val$options:Lorg/graalvm/compiler/options/OptionValues;
aload 3 /* scope */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.out:Ljava/io/PrintStream;
lload 4 /* time */
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.lastTime:J
lsub
l2d
ldc 1.0E9
ddiv
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.val$jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.collectCounters:()[J
bipush 10
invokestatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters.dump:(Lorg/graalvm/compiler/options/OptionValues;Ljava/io/PrintStream;D[JI)V
7: .line 461
aload 0 /* this */
lload 4 /* time */
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.lastTime:J
end local 4 // long time
8: .line 454
goto 2
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 1
10: .line 463
aload 3 /* scope */
ifnull 11
aload 3 /* scope */
invokevirtual org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.close:()V
end local 3 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope scope
StackMap locals:
StackMap stack:
11: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
aload 1
ifnonnull 13
aload 2
astore 1
goto 14
StackMap locals:
StackMap stack:
13: aload 1
aload 2
if_acmpeq 14
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 1
athrow
end local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$1;
2 11 3 scope Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$PrintStreamScope;
6 8 4 time J
Exception table:
from to target type
2 3 4 Class java.lang.InterruptedException
2 9 9 any
1 12 12 any
}
SourceFile: "BenchmarkCounters.java"
EnclosingMethod: org.graalvm.compiler.hotspot.debug.BenchmarkCounters.initialize:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/options/OptionValues;)V
NestHost: org.graalvm.compiler.hotspot.debug.BenchmarkCounters
InnerClasses:
org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1
public Options = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options of org.graalvm.compiler.hotspot.debug.BenchmarkCounters
PrintStreamScope = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope of org.graalvm.compiler.hotspot.debug.BenchmarkCounters