public class org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
static boolean isCalleeInlined;
descriptor: Z
flags: (0x0008) ACC_STATIC
static boolean isCallerInlined;
descriptor: Z
flags: (0x0008) ACC_STATIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
1: aload 0
ldc Lorg/graalvm/compiler/api/directives/test/IsMethodInlineDirectiveTest;
ldc "calleeSnippet"
invokevirtual org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 1
start local 1 2: aload 1
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.shouldBeInlined:()Z
pop
3: aload 0
ldc Lorg/graalvm/compiler/api/directives/test/IsMethodInlineDirectiveTest;
ldc "calleeWithInstrumentationSnippet"
invokevirtual org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 2
start local 2 4: aload 2
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.shouldBeInlined:()Z
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/api/directives/test/IsMethodInlineDirectiveTest;
2 6 1 calleeSnippet Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
4 6 2 calleeWithInstrumentationSnippet Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
public static boolean rootMethodSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.isMethodInlined:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testRootMethod();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/IsMethodInlineDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean calleeSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.isMethodInlined:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean callerSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest.calleeSnippet:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testInlinedCallee();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/IsMethodInlineDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static void calleeWithInstrumentationSnippet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.instrumentationBegin:()V
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.isMethodInlined:()Z
putstatic org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest.isCalleeInlined:Z
2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.instrumentationEnd:()V
3: return
LocalVariableTable:
Start End Slot Name Signature
public static void callerSnippet1();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest.calleeWithInstrumentationSnippet:()V
1: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.instrumentationBegin:()V
2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.isMethodInlined:()Z
putstatic org.graalvm.compiler.api.directives.test.IsMethodInlineDirectiveTest.isCallerInlined:Z
3: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.instrumentationEnd:()V
4: return
LocalVariableTable:
Start End Slot Name Signature
public void testInlinedCalleeWithInstrumentation();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/IsMethodInlineDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "IsMethodInlineDirectiveTest.java"