public interface HotSpotGraalRuntimeProvider extends GraalRuntime, RuntimeProvider, SnippetCounter.Group.Factory
| Modifier and Type | Method and Description |
|---|---|
Map<CompilationWrapper.ExceptionAction,Integer> |
getCompilationProblemsPerAction()
Gets the map used to count compilation problems at each
CompilationWrapper.ExceptionAction level. |
String |
getCompilerConfigurationName()
Returns the unique compiler configuration name that is in use.
|
HotSpotGraalRuntime.HotSpotGC |
getGarbageCollector() |
HotSpotBackend |
getHostBackend()
Gets the host backend.
|
HotSpotProviders |
getHostProviders() |
Instrumentation |
getInstrumentation()
Returns the instance holding the instrumentation data structures.
|
default String |
getName() |
OptionValues |
getOptions()
Gets the option values associated with this runtime.
|
DiagnosticsOutputDirectory |
getOutputDirectory()
Gets a directory into which diagnostics such crash reports and dumps should be written.
|
default TargetDescription |
getTarget() |
GraalHotSpotVMConfig |
getVMConfig() |
boolean |
isBootstrapping()
Determines if the VM is currently bootstrapping the JVMCI compiler.
|
boolean |
isShutdown()
This runtime has been requested to shutdown.
|
DebugContext |
openDebugContext(OptionValues compilationOptions,
CompilationIdentifier compilationId,
Object compilable,
Iterable<DebugHandlersFactory> factories,
PrintStream logStream)
Opens a debug context for compiling
compilable. |
getCapability, getRequiredCapabilitygetBackendcreateSnippetCounterGroupdefault TargetDescription getTarget()
HotSpotProviders getHostProviders()
default String getName()
getName in interface GraalRuntimeHotSpotGraalRuntime.HotSpotGC getGarbageCollector()
HotSpotBackend getHostBackend()
RuntimeProvidergetHostBackend in interface RuntimeProviderGraalHotSpotVMConfig getVMConfig()
DebugContext openDebugContext(OptionValues compilationOptions, CompilationIdentifier compilationId, Object compilable, Iterable<DebugHandlersFactory> factories, PrintStream logStream)
compilable. The DebugContext.close()
method should be called on the returned object once the compilation is finished.compilationOptions - the options used to configure the compilation debug contextcompilationId - a system wide unique compilation idcompilable - the input to the compilationlogStream - the log stream to use in this contextOptionValues getOptions()
boolean isBootstrapping()
boolean isShutdown()
DiagnosticsOutputDirectory getOutputDirectory()
Map<CompilationWrapper.ExceptionAction,Integer> getCompilationProblemsPerAction()
CompilationWrapper.ExceptionAction level. All
updates and queries to the map should be synchronized.String getCompilerConfigurationName()
Instrumentation getInstrumentation()