public abstract class TruffleCallBoundaryInstrumentationFactory extends Object
CompilationResultBuilder used to inject code into
the beginning of a
call boundary method. The injected code tests the entryPoint field of the
installedCode field of the receiver and tail calls it if it is non-zero:
long ep = this.installedCode.entryPoint;
// post-volatile-read barrier
if (ep != null) {
tailcall(ep);
}
// normal compiled code
| Modifier and Type | Class and Description |
|---|---|
static class |
TruffleCallBoundaryInstrumentationFactory.TruffleCompilationResultBuilderFactory |
| Constructor and Description |
|---|
TruffleCallBoundaryInstrumentationFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract CompilationResultBuilderFactory |
create(MetaAccessProvider metaAccess,
GraalHotSpotVMConfig config,
HotSpotRegistersProvider registers) |
abstract String |
getArchitecture()
Gets the architecture supported by this factory.
|
public TruffleCallBoundaryInstrumentationFactory()
public abstract CompilationResultBuilderFactory create(MetaAccessProvider metaAccess, GraalHotSpotVMConfig config, HotSpotRegistersProvider registers)
public abstract String getArchitecture()