final class org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream extends org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream
super_class: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream
{
private long startTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean running;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean waitingForEnd;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final jdk.vm.ci.hotspot.HotSpotJVMCIRuntime val$jvmciRuntime;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.graalvm.compiler.options.OptionValues val$options;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private void <init>(java.io.PrintStream, java.lang.String, java.lang.String, jdk.vm.ci.hotspot.HotSpotJVMCIRuntime, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljava/io/PrintStream;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 4
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.val$jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
aload 5
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.val$options:Lorg/graalvm/compiler/options/OptionValues;
1: aload 0
aload 1
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "\n"
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 2
aastore
invokespecial org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.<init>:(Ljava/io/PrintStream;[Ljava/lang/String;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$1BenchmarkCountersOutputStream;
0 3 1 delegate Ljava/io/PrintStream;
0 3 2 start Ljava/lang/String;
0 3 3 end Ljava/lang/String;
MethodParameters:
Name Flags
delegate
start
end
val$jvmciRuntime final
val$options final
protected void patternFound(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 2
0: 8
1: 5
2: 1
default: 12
}
1: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.System.nanoTime:()J
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.startTime:J
2: aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.val$jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.collectCounters:()[J
invokestatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters.clear:([J)V
3: aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.running:Z
4: goto 12
5: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.running:Z
ifeq 12
6: aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.waitingForEnd:Z
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.waitingForEnd:Z
ifeq 12
9: aload 0
iconst_0
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.waitingForEnd:Z
10: aload 0
iconst_0
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.running:Z
11: aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.val$options:Lorg/graalvm/compiler/options/OptionValues;
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.val$options:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters.getPrintStream:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/io/PrintStream;
invokestatic java.lang.System.nanoTime:()J
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.startTime:J
lsub
l2d
ldc 1.0E9
ddiv
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.val$jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.collectCounters:()[J
bipush 100
invokestatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters.dump:(Lorg/graalvm/compiler/options/OptionValues;Ljava/io/PrintStream;D[JI)V
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$1BenchmarkCountersOutputStream;
0 13 1 index I
MethodParameters:
Name Flags
index
}
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:
final BenchmarkCountersOutputStream = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream
private abstract CallbackOutputStream = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream of org.graalvm.compiler.hotspot.debug.BenchmarkCounters