Modifier and Type | Method and Description |
---|---|
public default InstalledCode | Returns: a reference to the ready-to-run codea method implemented by the installed code method, CompiledCode the compiled code to be added compiledCode, SpeculationLog the speculation log to be used log, InstalledCode a predefined installedCode)InstalledCode object to use as a reference to the
installed code. If null , a new InstalledCode object will be
created.Installs code for a given method based on a given compilation result without making it the default implementation of the method. |
public SpeculationLog | |
public default String | |
public long | getMaxCallTargetOffset(long address)
Returns the maximum absolute offset of a PC relative call to a given address from any position in the code cache or -1 when not applicable. |
public int | Returns: the minimum size of the outgoing parameter area in bytesMinimum size of the stack area reserved for outgoing parameters. |
public RegisterConfig | |
public TargetDescription | |
public default String | |
public InstalledCode | Returns: a reference to the compiled and ready-to-run installed codethe method compiled to produce method, CompiledCode compiledCode or null if the
input to compResult was not a ResolvedJavaMethod the compiled code to be added compiledCode, InstalledCode a pre-allocated installedCode, SpeculationLog InstalledCode object to use as a reference to
the installed code. If null , a new InstalledCode object will be
created.the speculation log to be used log, boolean specifies if the installed code should be made the default implementation of
isDefault)compRequest.getMethod() . The default implementation for a method is the
code executed for standard calls to the method. This argument is ignored if
compRequest == null .Installs code based on a given compilation result. |
public void | invalidateInstalledCode(InstalledCode installedCode)
Invalidates |
public default InstalledCode | Returns: a reference to the ready-to-run codea method implemented by the installed code and for which the installed code
becomes the default implementation method, CompiledCode the compiled code to be added compiledCode)Installs code for a given method based on a given compilation result and makes it the default implementation of the method. |
public boolean | shouldDebugNonSafepoints()
Determines if debug info should also be emitted at non-safepoint locations. |
addCode | back to summary |
---|---|
public default InstalledCode addCode(ResolvedJavaMethod method, CompiledCode compiledCode, SpeculationLog log, InstalledCode installedCode) Installs code for a given method based on a given compilation result without making it the default implementation of the method.
|
createSpeculationLog | back to summary |
---|---|
public SpeculationLog createSpeculationLog() Create a new speculation log for the target runtime. |
getMarkName | back to summary |
---|---|
public default String getMarkName(Mark mark) Gets a name for a |
getMaxCallTargetOffset | back to summary |
---|---|
public long getMaxCallTargetOffset(long address) Returns the maximum absolute offset of a PC relative call to a given address from any position in the code cache or -1 when not applicable. Intended for determining the required size of address/offset fields. |
getMinimumOutgoingSize | back to summary |
---|---|
public int getMinimumOutgoingSize() Minimum size of the stack area reserved for outgoing parameters. This area is reserved in all cases, even when the compiled method has no regular call instructions.
|
getRegisterConfig | back to summary |
---|---|
public RegisterConfig getRegisterConfig() Gets the register configuration to use when compiling a given method. |
getTarget | back to summary |
---|---|
public TargetDescription getTarget() Gets a description of the target architecture. |
getTargetName | back to summary |
---|---|
public default String getTargetName(Call call) |
installCode | back to summary |
---|---|
public InstalledCode installCode(ResolvedJavaMethod method, CompiledCode compiledCode, InstalledCode installedCode, SpeculationLog log, boolean isDefault) Installs code based on a given compilation result.
|
invalidateInstalledCode | back to summary |
---|---|
public void invalidateInstalledCode(InstalledCode installedCode) Invalidates |
setDefaultCode | back to summary |
---|---|
public default InstalledCode setDefaultCode(ResolvedJavaMethod method, CompiledCode compiledCode) Installs code for a given method based on a given compilation result and makes it the default implementation of the method.
|
shouldDebugNonSafepoints | back to summary |
---|---|
public boolean shouldDebugNonSafepoints() Determines if debug info should also be emitted at non-safepoint locations. |