public class CompilationTask extends Object
| Modifier and Type | Field and Description |
|---|---|
static TimerKey |
CodeInstallationTime
Time spent in code installation.
|
static TimerKey |
CompilationTime
Time spent in compilation.
|
static CounterKey |
CompiledAndInstalledBytecodes
Counts the number of compiled bytecodes for
which CompilationResult.getTargetCode() code was installed.
|
| Constructor and Description |
|---|
CompilationTask(HotSpotJVMCIRuntime jvmciRuntime,
HotSpotGraalCompiler compiler,
HotSpotCompilationRequest request,
boolean useProfilingInfo,
boolean installAsDefault) |
CompilationTask(HotSpotJVMCIRuntime jvmciRuntime,
HotSpotGraalCompiler compiler,
HotSpotCompilationRequest request,
boolean useProfilingInfo,
boolean shouldRetainLocalVariables,
boolean installAsDefault) |
| Modifier and Type | Method and Description |
|---|---|
OptionValues |
filterOptions(OptionValues options) |
int |
getEntryBCI() |
int |
getId()
Returns the HotSpot id of this compilation.
|
String |
getIdString() |
HotSpotInstalledCode |
getInstalledCode() |
HotSpotResolvedJavaMethod |
getMethod() |
HotSpotCompilationRequestResult |
runCompilation(DebugContext debug) |
HotSpotCompilationRequestResult |
runCompilation(OptionValues initialOptions) |
String |
toString() |
public static final TimerKey CompilationTime
public static final CounterKey CompiledAndInstalledBytecodes
public static final TimerKey CodeInstallationTime
public CompilationTask(HotSpotJVMCIRuntime jvmciRuntime,
HotSpotGraalCompiler compiler,
HotSpotCompilationRequest request,
boolean useProfilingInfo,
boolean installAsDefault)
public CompilationTask(HotSpotJVMCIRuntime jvmciRuntime,
HotSpotGraalCompiler compiler,
HotSpotCompilationRequest request,
boolean useProfilingInfo,
boolean shouldRetainLocalVariables,
boolean installAsDefault)
public OptionValues filterOptions(OptionValues options)
public HotSpotResolvedJavaMethod getMethod()
public int getId()
public int getEntryBCI()
public String getIdString()
public HotSpotInstalledCode getInstalledCode()
public HotSpotCompilationRequestResult runCompilation(OptionValues initialOptions)
public HotSpotCompilationRequestResult runCompilation(DebugContext debug)