Top Description Fields Constructors Methods
jdk.vm.ci.hotspot

public final Class HotSpotCompilationRequestResult

extends Object
implements CompilationRequestResult
Class Inheritance
All Implemented Interfaces
jdk.vm.ci.code.CompilationRequestResult
Imports
jdk.vm.ci.code.CompilationRequest, .CompilationRequestResult

HotSpot specific information about the result of a CompilationRequest.

Field Summary

Modifier and TypeField and Description
private final String
failureMessage

A user readable description of the failure.

private final int
inlinedBytecodes

Number of bytecodes inlined into the compilation, exclusive of the bytecodes in the root method.

private final boolean
retry

Whether this is a transient failure where retrying would help.

Constructor Summary

AccessConstructor and Description
private
HotSpotCompilationRequestResult(String failureMessage, boolean retry, int inlinedBytecodes)

Method Summary

Modifier and TypeMethod and Description
public static HotSpotCompilationRequestResult
failure(String
a description of the failure
failureMessage
,
boolean
whether this is a transient failure where retrying may succeed
retry
)

Creates a result representing a failed compilation.

public Object
getFailure()

Implements jdk.vm.ci.code.CompilationRequestResult.getFailure.

Determines if the compilation was successful.

public String
public int
public boolean
public static HotSpotCompilationRequestResult
success(int
number of bytecodes inlined into the compilation, exclusive of the bytecodes in the root method
inlinedBytecodes
)

Creates a result representing a successful compilation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

failureMessageback to summary
private final String failureMessage

A user readable description of the failure. This field is read by the VM.

inlinedBytecodesback to summary
private final int inlinedBytecodes

Number of bytecodes inlined into the compilation, exclusive of the bytecodes in the root method. This field is read by the VM.

retryback to summary
private final boolean retry

Whether this is a transient failure where retrying would help. This field is read by the VM.

Constructor Detail

HotSpotCompilationRequestResultback to summary
private HotSpotCompilationRequestResult(String failureMessage, boolean retry, int inlinedBytecodes)

Method Detail

failureback to summary
public static HotSpotCompilationRequestResult failure(String failureMessage, boolean retry)

Creates a result representing a failed compilation.

Parameters
failureMessage:String

a description of the failure

retry:boolean

whether this is a transient failure where retrying may succeed

getFailureback to summary
public Object getFailure()

Implements jdk.vm.ci.code.CompilationRequestResult.getFailure.

Doc from jdk.vm.ci.code.CompilationRequestResult.getFailure.

Determines if the compilation was successful.

Returns:Object

a non-null object whose Object#toString() describes the failure or null if compilation was successful

Annotations
@Override
getFailureMessageback to summary
public String getFailureMessage()
getInlinedBytecodesback to summary
public int getInlinedBytecodes()
getRetryback to summary
public boolean getRetry()
successback to summary
public static HotSpotCompilationRequestResult success(int inlinedBytecodes)

Creates a result representing a successful compilation.

Parameters
inlinedBytecodes:int

number of bytecodes inlined into the compilation, exclusive of the bytecodes in the root method