abstract class org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream
super_class: java.io.OutputStream
{
protected final java.io.PrintStream delegate;
descriptor: Ljava/io/PrintStream;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final byte[][] patterns;
descriptor: [[B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] positions;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.io.PrintStream, java.lang.String[]);
descriptor: (Ljava/io/PrintStream;[Ljava/lang/String;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.delegate:Ljava/io/PrintStream;
2: aload 0
aload 2
arraylength
newarray 10
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.positions:[I
3: aload 0
aload 2
arraylength
anewarray byte[]
putfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.patterns:[[B
4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream java.io.PrintStream java.lang.String[] int
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.patterns:[[B
iload 3
aload 2
iload 3
aaload
invokevirtual java.lang.String.getBytes:()[B
aastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 6
end local 3 9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$CallbackOutputStream;
0 10 1 delegate Ljava/io/PrintStream;
0 10 2 patterns [Ljava/lang/String;
5 9 3 i I
MethodParameters:
Name Flags
delegate
patterns
protected abstract void patternFound(int);
descriptor: (I)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.delegate:Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.write:(I)V
1: iconst_0
istore 2
start local 2 2: goto 17
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.positions:[I
iload 2
iaload
istore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.patterns:[[B
iload 2
aaload
astore 4
start local 4 5: aload 4
iload 3
baload
istore 5
start local 5 6: iload 5
bipush 126
if_icmpne 7
iload 1
invokestatic java.lang.Character.isDigit:(I)Z
ifne 13
7: StackMap locals: int byte[] int
StackMap stack:
iload 5
bipush 126
if_icmpne 9
8: aload 4
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.positions:[I
iload 2
dup2
iaload
iconst_1
iadd
dup_x2
iastore
baload
istore 5
9: StackMap locals:
StackMap stack:
iload 1
iload 5
if_icmpne 12
10: aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.positions:[I
iload 2
dup2
iaload
iconst_1
iadd
iastore
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.positions:[I
iload 2
iconst_0
iastore
13: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.positions:[I
iload 2
iaload
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.patterns:[[B
iload 2
aaload
arraylength
if_icmpne 16
14: aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.positions:[I
iload 2
iconst_0
iastore
15: aload 0
iload 2
invokevirtual org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.patternFound:(I)V
end local 5 end local 4 end local 3 16: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
17: iload 2
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.patterns:[[B
arraylength
if_icmplt 3
end local 2 18: goto 22
StackMap locals: org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream int
StackMap stack: java.lang.RuntimeException
19: astore 2
start local 2 20: aload 2
aload 0
getfield org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream.delegate:Ljava/io/PrintStream;
invokevirtual java.lang.RuntimeException.printStackTrace:(Ljava/io/PrintStream;)V
21: aload 2
athrow
end local 2 22: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$CallbackOutputStream;
0 23 1 b I
2 18 2 i I
4 16 3 j I
5 16 4 cs [B
6 16 5 patternChar B
20 22 2 e Ljava/lang/RuntimeException;
Exception table:
from to target type
0 18 19 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
}
SourceFile: "BenchmarkCounters.java"
NestHost: org.graalvm.compiler.hotspot.debug.BenchmarkCounters
InnerClasses:
private abstract CallbackOutputStream = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$CallbackOutputStream of org.graalvm.compiler.hotspot.debug.BenchmarkCounters