public class ForeignCallDescriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canDeoptimize |
protected boolean |
isGuaranteedSafepoint |
protected boolean |
isReexecutable |
protected org.graalvm.word.LocationIdentity[] |
killedLocations |
protected ForeignCallSignature |
signature |
| Constructor and Description |
|---|
ForeignCallDescriptor(String name,
Class<?> resultType,
Class<?>[] argumentTypes,
boolean isReexecutable,
org.graalvm.word.LocationIdentity[] killedLocations,
boolean canDeoptimize,
boolean isGuaranteedSafepoint) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDeoptimize()
Determines if deoptimization can occur during a given foreign call.
|
boolean |
equals(Object o) |
Class<?>[] |
getArgumentTypes() |
org.graalvm.word.LocationIdentity[] |
getKilledLocations()
Gets the set of memory locations killed by a given foreign call.
|
String |
getName() |
Class<?> |
getResultType() |
ForeignCallSignature |
getSignature() |
int |
hashCode() |
boolean |
isGuaranteedSafepoint()
Identifies foreign calls which are guaranteed to include a safepoint check.
|
boolean |
isReexecutable()
Determines if a given foreign call is side-effect free.
|
String |
toString() |
protected final ForeignCallSignature signature
protected final boolean isReexecutable
protected final boolean canDeoptimize
protected final boolean isGuaranteedSafepoint
protected final org.graalvm.word.LocationIdentity[] killedLocations
public ForeignCallSignature getSignature()
public String getName()
public Class<?> getResultType()
public Class<?>[] getArgumentTypes()
public boolean isReexecutable()
public org.graalvm.word.LocationIdentity[] getKilledLocations()
LocationIdentity.any() denotes that the call kills all memory locations. Returning
any empty array denotes that the call does not kill any memory locations.public boolean canDeoptimize()
public boolean isGuaranteedSafepoint()