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)
java.io.PrintStream out;
descriptor: Ljava/io/PrintStream;
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 444
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 445
aload 0 /* this */
invokestatic java.lang.System.nanoTime:()J
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.lastTime:J
2: .line 446
aload 0 /* this */
aload 1
invokestatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters.getPrintStream:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/io/PrintStream;
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.out:Ljava/io/PrintStream;
3: .line 444
return
end local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
LocalVariableTable:
Start End Slot Name Signature
0 4 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=3, args_size=1
start local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
0: .line 452
StackMap locals:
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
1: .line 453
goto 3
StackMap locals:
StackMap stack: java.lang.InterruptedException
2: pop
3: .line 455
StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 1 /* time */
start local 1 // long time
4: .line 456
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.val$options:Lorg/graalvm/compiler/options/OptionValues;
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.out:Ljava/io/PrintStream;
lload 1 /* 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
5: .line 457
aload 0 /* this */
lload 1 /* time */
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.lastTime:J
end local 1 // long time
6: .line 450
goto 0
end local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$1;
4 6 1 time J
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
}
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
Options = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options of org.graalvm.compiler.hotspot.debug.BenchmarkCounters