public class InvokeJavaMethodStub extends AbstractForeignCallStub
jvmciRuntime, prependThread, target| Constructor and Description |
|---|
InvokeJavaMethodStub(OptionValues options,
HotSpotJVMCIRuntime runtime,
HotSpotProviders providers,
long address,
HotSpotForeignCallDescriptor descriptor,
ResolvedJavaMethod staticMethod)
Creates a stub for a call to code at a given address.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSafeDataReference(DataPatch data) |
protected ValueNode |
createTargetCall(GraphKit kit,
ReadRegisterNode thread) |
protected HotSpotForeignCallDescriptor |
getTargetSignature(HotSpotForeignCallDescriptor descriptor) |
protected boolean |
returnsObject() |
protected boolean |
shouldClearException() |
createParameters, debugScopeContext, getGraph, getInstalledCodeOwner, getTargetLinkagecreateLIRSuites, createSuites, getCode, getCompilationResult, getDestroyedCallerRegisters, getLinkage, getRegisterConfig, getStubCompilationId, initDestroyedCallerRegisters, shouldSaveRegistersAroundCalls, toStringpublic InvokeJavaMethodStub(OptionValues options, HotSpotJVMCIRuntime runtime, HotSpotProviders providers, long address, HotSpotForeignCallDescriptor descriptor, ResolvedJavaMethod staticMethod)
address - the address of the code to calldescriptor - the signature of the call to this stubstaticMethod - the Java method to be invoked by HotSpotprotected HotSpotForeignCallDescriptor getTargetSignature(HotSpotForeignCallDescriptor descriptor)
getTargetSignature in class AbstractForeignCallStubprotected boolean returnsObject()
returnsObject in class AbstractForeignCallStubprotected boolean shouldClearException()
shouldClearException in class AbstractForeignCallStubprotected ValueNode createTargetCall(GraphKit kit, ReadRegisterNode thread)
createTargetCall in class AbstractForeignCallStubprotected void checkSafeDataReference(DataPatch data)
checkSafeDataReference in class Stub