public abstract class org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl implements org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProvider
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl
super_class: java.lang.Object
{
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor OSR_MIGRATION_END;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor IDENTITY_HASHCODE;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor VERIFY_OOP;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor LOAD_AND_CLEAR_EXCEPTION;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor TEST_DEOPTIMIZE_CALL_INT;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
protected final jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider jvmciRuntime;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider runtime;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.Map<org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage> foreignCalls;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;>;
protected final jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.vm.ci.code.CodeCacheProvider codeCache;
descriptor: Ljdk/vm/ci/code/CodeCacheProvider;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.word.WordTypes wordTypes;
descriptor: Lorg/graalvm/compiler/word/WordTypes;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public static final boolean PREPEND_THREAD;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final boolean DONT_PREPEND_THREAD;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final boolean REEXECUTABLE;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final boolean NOT_REEXECUTABLE;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final org.graalvm.compiler.core.common.LocationIdentity[] NO_LOCATIONS;
descriptor: [Lorg/graalvm/compiler/core/common/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
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=8, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
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 org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
3: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "OSR_migration_end"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.OSR_MIGRATION_END:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
4: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "identity_hashcode"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.IDENTITY_HASHCODE:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
5: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "verify_oop"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.VERIFY_OOP:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
6: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "load_and_clear_exception"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/graalvm/compiler/word/Word;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.LOAD_AND_CLEAR_EXCEPTION:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
7: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "test_deoptimize_call_int"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.TEST_DEOPTIMIZE_CALL_INT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
8: iconst_0
anewarray org.graalvm.compiler.core.common.LocationIdentity
putstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.NO_LOCATIONS:[Lorg/graalvm/compiler/core/common/LocationIdentity;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider, org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider, jdk.vm.ci.meta.MetaAccessProvider, jdk.vm.ci.code.CodeCacheProvider, org.graalvm.compiler.word.WordTypes);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/code/CodeCacheProvider;Lorg/graalvm/compiler/word/WordTypes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
2: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
3: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
4: aload 0
aload 3
putfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
5: aload 0
aload 4
putfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.codeCache:Ljdk/vm/ci/code/CodeCacheProvider;
6: aload 0
aload 5
putfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
7: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 8 1 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
0 8 2 runtime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
0 8 3 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 8 4 codeCache Ljdk/vm/ci/code/CodeCacheProvider;
0 8 5 wordTypes Lorg/graalvm/compiler/word/WordTypes;
MethodParameters:
Name Flags
jvmciRuntime
runtime
metaAccess
codeCache
wordTypes
public org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage register(org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "already registered linkage for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 3 1 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
linkage
public boolean isRegistered(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 1 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
MethodParameters:
Name Flags
descriptor
public org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage registerStubCall(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, boolean, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$Transition, org.graalvm.compiler.core.common.LocationIdentity[]);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;[Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=14, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.codeCache:Ljdk/vm/ci/code/CodeCacheProvider;
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
aload 0
aload 1
lconst_0
getstatic org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$RegisterEffect.PRESERVES_REGISTERS:Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$RegisterEffect;
getstatic jdk.vm.ci.hotspot.HotSpotCallingConventionType.JavaCall:Ljdk/vm/ci/hotspot/HotSpotCallingConventionType;
getstatic jdk.vm.ci.hotspot.HotSpotCallingConventionType.JavaCallee:Ljdk/vm/ci/hotspot/HotSpotCallingConventionType;
aload 3
iload 2
1: aload 4
2: invokestatic org.graalvm.compiler.hotspot.HotSpotForeignCallLinkageImpl.create:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/code/CodeCacheProvider;Lorg/graalvm/compiler/word/WordTypes;Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;JLorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$RegisterEffect;Ljdk/vm/ci/code/CallingConvention$Type;Ljdk/vm/ci/code/CallingConvention$Type;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;Z[Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.register:(Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
areturn
end local 4 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/meta/HotSpotForeignCallsProviderImpl;
0 3 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
0 3 2 reexecutable Z
0 3 3 transition Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;
0 3 4 killedLocations [Lorg/graalvm/compiler/core/common/LocationIdentity;
MethodParameters:
Name Flags
descriptor
reexecutable
transition
killedLocations
public org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage registerForeignCall(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, long, jdk.vm.ci.code.CallingConvention$Type, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$RegisterEffect, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$Transition, boolean, org.graalvm.compiler.core.common.LocationIdentity[]);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;JLjdk/vm/ci/code/CallingConvention$Type;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$RegisterEffect;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;Z[Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=14, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 1
invokevirtual org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.getResultType:()Ljava/lang/Class;
astore 9
start local 9 1: getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 2
lload 2
lconst_0
lcmp
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 3
aload 6
getstatic org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$Transition.SAFEPOINT:Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;
if_acmpne 3
aload 9
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 3
ldc Lorg/graalvm/compiler/word/Word;
aload 9
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "non-leaf foreign calls must return objects in thread local storage: "
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.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.codeCache:Ljdk/vm/ci/code/CodeCacheProvider;
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
aload 0
aload 1
lload 2
aload 5
aload 4
aconst_null
aload 6
iload 7
aload 8
invokestatic org.graalvm.compiler.hotspot.HotSpotForeignCallLinkageImpl.create:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/code/CodeCacheProvider;Lorg/graalvm/compiler/word/WordTypes;Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProvider;Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;JLorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$RegisterEffect;Ljdk/vm/ci/code/CallingConvention$Type;Ljdk/vm/ci/code/CallingConvention$Type;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;Z[Lorg/graalvm/compiler/core/common/LocationIdentity;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.register:(Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 4 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
0 4 2 address J
0 4 4 outgoingCcType Ljdk/vm/ci/code/CallingConvention$Type;
0 4 5 effect Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$RegisterEffect;
0 4 6 transition Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;
0 4 7 reexecutable Z
0 4 8 killedLocations [Lorg/graalvm/compiler/core/common/LocationIdentity;
1 4 9 resultType Ljava/lang/Class<*>;
MethodParameters:
Name Flags
descriptor
address
outgoingCcType
effect
transition
reexecutable
killedLocations
public void linkForeignCall(org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, long, boolean, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$Transition, boolean, org.graalvm.compiler.core.common.LocationIdentity[]);
descriptor: (Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;JZLorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;Z[Lorg/graalvm/compiler/core/common/LocationIdentity;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=11, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 7 start local 8 0: new org.graalvm.compiler.hotspot.stubs.ForeignCallStub
dup
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
aload 1
lload 3
aload 2
iload 5
aload 6
iload 7
aload 8
invokespecial org.graalvm.compiler.hotspot.stubs.ForeignCallStub.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;JLorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;Z[Lorg/graalvm/compiler/core/common/LocationIdentity;)V
astore 9
start local 9 1: aload 9
invokevirtual org.graalvm.compiler.hotspot.stubs.ForeignCallStub.getLinkage:()Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
astore 10
start local 10 2: aload 9
invokevirtual org.graalvm.compiler.hotspot.stubs.ForeignCallStub.getTargetLinkage:()Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
astore 11
start local 11 3: aload 10
aload 9
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.setCompiledStub:(Lorg/graalvm/compiler/hotspot/stubs/Stub;)V
4: aload 0
aload 10
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.register:(Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
pop
5: aload 0
aload 11
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.register:(Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
pop
6: return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 7 1 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 7 2 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
0 7 3 address J
0 7 5 prependThread Z
0 7 6 transition Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage$Transition;
0 7 7 reexecutable Z
0 7 8 killedLocations [Lorg/graalvm/compiler/core/common/LocationIdentity;
1 7 9 stub Lorg/graalvm/compiler/hotspot/stubs/ForeignCallStub;
2 7 10 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
3 7 11 targetLinkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
providers
descriptor
address
prependThread
transition
reexecutable
killedLocations
public org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage lookupForeignCall(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
ifnonnull 1
new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
astore 2
start local 2 2: aload 2
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getHostBackend:()Lorg/graalvm/compiler/hotspot/HotSpotBackend;
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.finalizeAddress:(Lorg/graalvm/compiler/core/target/Backend;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 4 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
2 4 2 callTarget Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
descriptor
public boolean isReexecutable(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unknown foreign call: "
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.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.isReexecutable:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 2 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
MethodParameters:
Name Flags
descriptor
public boolean canDeoptimize(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unknown foreign call: "
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.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.needsDebugInfo:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 2 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
MethodParameters:
Name Flags
descriptor
public boolean isGuaranteedSafepoint(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unknown foreign call: "
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.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.isGuaranteedSafepoint:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 2 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
MethodParameters:
Name Flags
descriptor
public org.graalvm.compiler.core.common.LocationIdentity[] getKilledLocations(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)[Lorg/graalvm/compiler/core/common/LocationIdentity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unknown foreign call: "
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.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.foreignCalls:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getKilledLocations:()[Lorg/graalvm/compiler/core/common/LocationIdentity;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 2 1 descriptor Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
MethodParameters:
Name Flags
descriptor
public org.graalvm.compiler.core.common.LIRKind getValueKind(jdk.vm.ci.meta.JavaKind);
descriptor: (Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/LIRKind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.codeCache:Ljdk/vm/ci/code/CodeCacheProvider;
invokeinterface jdk.vm.ci.code.CodeCacheProvider.getTarget:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
aload 1
invokestatic org.graalvm.compiler.core.common.LIRKind.fromJavaKind:(Ljdk/vm/ci/code/Architecture;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/LIRKind;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallsProviderImpl;
0 1 1 javaKind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
javaKind
public jdk.vm.ci.meta.ValueKind getValueKind(jdk.vm.ci.meta.JavaKind);
descriptor: (Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/meta/ValueKind;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.getValueKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/LIRKind;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.graalvm.compiler.core.common.spi.ForeignCallLinkage lookupForeignCall(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)Lorg/graalvm/compiler/core/common/spi/ForeignCallLinkage;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.lookupForeignCall:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;)Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HotSpotForeignCallsProviderImpl.java"
InnerClasses:
public abstract Type = jdk.vm.ci.code.CallingConvention$Type of jdk.vm.ci.code.CallingConvention
public final RegisterEffect = org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$RegisterEffect of org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
public final Transition = org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage$Transition of org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage