final class jdk.tools.jaotc.ForeignCallSiteRelocationInfo extends jdk.tools.jaotc.CallSiteRelocationInfo
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.ForeignCallSiteRelocationInfo
super_class: jdk.tools.jaotc.CallSiteRelocationInfo
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/tools/jaotc/ForeignCallSiteRelocationInfo;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.tools.jaotc.ForeignCallSiteRelocationInfo.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.vm.ci.code.site.Call, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Ljdk/vm/ci/code/site/Call;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.tools.jaotc.ForeignCallSiteRelocationInfo.getTargetSymbol:(Ljdk/vm/ci/code/site/Call;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Ljava/lang/String;
aload 2
invokestatic jdk.tools.jaotc.ForeignCallSiteRelocationInfo.getRelocType:(Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Ljdk/tools/jaotc/binformat/Relocation$RelocType;
invokespecial jdk.tools.jaotc.CallSiteRelocationInfo.<init>:(Ljava/lang/String;Ljdk/tools/jaotc/binformat/Relocation$RelocType;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/ForeignCallSiteRelocationInfo;
0 2 1 call Ljdk/vm/ci/code/site/Call;
0 2 2 callTarget Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
call
callTarget
private static java.lang.String getTargetSymbol(jdk.vm.ci.code.site.Call, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Ljdk/vm/ci/code/site/Call;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getAddress:()J
lstore 2
start local 2 1: lload 2
invokestatic jdk.tools.jaotc.DataBuilder.getVMFunctionNameForAddress:(J)Ljava/lang/String;
astore 4
start local 4 2: aload 4
ifnull 7
3: aload 4
invokestatic jdk.tools.jaotc.binformat.BinaryContainer.getAOTSymbolForVMFunctionName:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 4: aload 5
ifnonnull 6
5: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "no global symbol found for: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: long java.lang.String java.lang.String
StackMap stack:
aload 5
areturn
end local 5 7: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.isCompiledStub:()Z
ifeq 10
8: getstatic jdk.tools.jaotc.ForeignCallSiteRelocationInfo.$assertionsDisabled:Z
ifne 9
aload 0
getfield jdk.vm.ci.code.site.Call.direct:Z
ifne 9
new java.lang.AssertionError
dup
ldc "Should always be a direct call to stubs"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getSymbol:()Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "no symbol found for: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 call Ljdk/vm/ci/code/site/Call;
0 11 1 callTarget Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
1 11 2 foreignCallTargetAddress J
2 11 4 functionName Ljava/lang/String;
4 7 5 aotSymbol Ljava/lang/String;
MethodParameters:
Name Flags
call
callTarget
private static jdk.tools.jaotc.binformat.Relocation$RelocType getRelocType(org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Ljdk/tools/jaotc/binformat/Relocation$RelocType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.isCompiledStub:()Z
ifeq 1
getstatic jdk.tools.jaotc.binformat.Relocation$RelocType.STUB_CALL_DIRECT:Ljdk/tools/jaotc/binformat/Relocation$RelocType;
goto 2
StackMap locals:
StackMap stack:
1: getstatic jdk.tools.jaotc.binformat.Relocation$RelocType.FOREIGN_CALL_INDIRECT_GOT:Ljdk/tools/jaotc/binformat/Relocation$RelocType;
StackMap locals:
StackMap stack: jdk.tools.jaotc.binformat.Relocation$RelocType
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 callTarget Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
callTarget
}
SourceFile: "ForeignCallSiteRelocationInfo.java"
InnerClasses:
public final RelocType = jdk.tools.jaotc.binformat.Relocation$RelocType of jdk.tools.jaotc.binformat.Relocation