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 jdk.vm.ci.hotspot.HotSpotJVMCIRuntime val$jvmciRuntime;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntime);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
0: .line 406
aload 0 /* this */
aload 1
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 407
aload 0 /* this */
invokestatic java.lang.System.nanoTime:()J
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.lastTime:J
2: .line 408
aload 0 /* this */
invokestatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters.getPrintStream:()Ljava/io/PrintStream;
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.out:Ljava/io/PrintStream;
3: .line 406
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$jvmciRuntime final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 // org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1 this
0: .line 414
StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.TimedDynamicCounters:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
i2l
invokestatic java.lang.Thread.sleep:(J)V
1: .line 415
goto 3
StackMap locals:
StackMap stack: java.lang.InterruptedException
2: pop
3: .line 417
StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 1 /* time */
start local 1 // long time
4: .line 418
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:(Ljava/io/PrintStream;D[JI)V
5: .line 419
aload 0 /* this */
lload 1 /* time */
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1.lastTime:J
end local 1 // long time
6: .line 412
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;)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