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=5, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 2
0: 8
1: 5
2: 1
default: 20
}
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 20
5: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.running:Z
ifeq 20
6: aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.waitingForEnd:Z
7: goto 20
8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.waitingForEnd:Z
ifeq 20
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: aconst_null
astore 2
aconst_null
astore 3
12: 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;)Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$PrintStreamScope;
astore 4
start local 4 13: aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream.val$options:Lorg/graalvm/compiler/options/OptionValues;
aload 4
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.out: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
14: aload 4
ifnull 20
aload 4
invokevirtual org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.close:()V
goto 20
StackMap locals: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$1BenchmarkCountersOutputStream int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope
StackMap stack: java.lang.Throwable
15: astore 2
aload 4
ifnull 16
aload 4
invokevirtual org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope.close:()V
end local 4 StackMap locals:
StackMap stack:
16: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 3
aload 2
ifnonnull 18
aload 3
astore 2
goto 19
StackMap locals:
StackMap stack:
18: aload 2
aload 3
if_acmpeq 19
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 2
athrow
20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$1BenchmarkCountersOutputStream;
0 21 1 index I
13 16 4 scope Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$PrintStreamScope;
Exception table:
from to target type
13 14 15 any
12 17 17 any
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
PrintStreamScope = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$PrintStreamScope of org.graalvm.compiler.hotspot.debug.BenchmarkCounters