class org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe
super_class: java.lang.Object
{
final java.lang.String substring;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final int expectedOccurrences;
descriptor: I
flags: (0x0010) ACC_FINAL
int actualOccurrences;
descriptor: I
flags: (0x0000)
java.lang.String lastMatchingLine;
descriptor: Ljava/lang/String;
flags: (0x0000)
void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe this
start local 1 // java.lang.String substring
start local 2 // int expectedOccurrences
0: .line 83
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 84
aload 0 /* this */
aload 1 /* substring */
putfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.substring:Ljava/lang/String;
2: .line 85
aload 0 /* this */
iload 2 /* expectedOccurrences */
putfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.expectedOccurrences:I
3: .line 86
return
end local 2 // int expectedOccurrences
end local 1 // java.lang.String substring
end local 0 // org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/test/CompilationWrapperTest$Probe;
0 4 1 substring Ljava/lang/String;
0 4 2 expectedOccurrences I
MethodParameters:
Name Flags
substring
expectedOccurrences
boolean matches(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 // org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe this
start local 1 // java.lang.String line
0: .line 89
aload 1 /* line */
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.substring:Ljava/lang/String;
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
1: .line 90
aload 0 /* this */
dup
getfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.actualOccurrences:I
iconst_1
iadd
putfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.actualOccurrences:I
2: .line 91
aload 0 /* this */
aload 1 /* line */
putfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.lastMatchingLine:Ljava/lang/String;
3: .line 92
iconst_1
ireturn
4: .line 94
StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 // java.lang.String line
end local 0 // org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/test/CompilationWrapperTest$Probe;
0 5 1 line Ljava/lang/String;
MethodParameters:
Name Flags
line
java.lang.String test();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 // org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe this
0: .line 98
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.expectedOccurrences:I
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.actualOccurrences:I
if_icmpne 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: ldc "expected %d, got %d occurrences"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.expectedOccurrences:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe.actualOccurrences:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 // org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/CompilationWrapperTest$Probe;
}
SourceFile: "CompilationWrapperTest.java"
NestHost: org.graalvm.compiler.hotspot.test.CompilationWrapperTest
InnerClasses:
Probe = org.graalvm.compiler.hotspot.test.CompilationWrapperTest$Probe of org.graalvm.compiler.hotspot.test.CompilationWrapperTest