public interface HotSpotGraalRuntimeProvider extends GraalRuntime, RuntimeProvider, StackIntrospection
Modifier and Type | Method and Description |
---|---|
ResolvedJavaType |
fromClass(Class<?> clazz)
Gets the Graal mirror for a
Class object. |
default CompilerToVM |
getCompilerToVM() |
default HotSpotVMConfig |
getConfig() |
HotSpotBackend |
getHostBackend()
Gets the host backend.
|
HotSpotProviders |
getHostProviders() |
HotSpotJVMCIRuntimeProvider |
getJVMCIRuntime() |
default String |
getName() |
default TargetDescription |
getTarget() |
default JavaType |
lookupType(String name,
HotSpotResolvedObjectType accessingType,
boolean resolve)
Converts a name to a Java type.
|
getCapability
getBackend
iterateFrames
HotSpotJVMCIRuntimeProvider getJVMCIRuntime()
default HotSpotVMConfig getConfig()
default TargetDescription getTarget()
default CompilerToVM getCompilerToVM()
default JavaType lookupType(String name, HotSpotResolvedObjectType accessingType, boolean resolve)
name
to a
ResolvedJavaType
.name
- a well formed Java type in internal formataccessingType
- the context of resolution which must be non-nullresolve
- specifies whether resolution failure results in an unresolved type being
return or a LinkageError
being thrownname
which is guaranteed to be of type
ResolvedJavaType
if resolve == true
LinkageError
- if resolve == true
and the resolution failedNullPointerException
- if accessingClass
is null
HotSpotProviders getHostProviders()
default String getName()
getName
in interface GraalRuntime
HotSpotBackend getHostBackend()
RuntimeProvider
getHostBackend
in interface RuntimeProvider
ResolvedJavaType fromClass(Class<?> clazz)
Class
object.ResolvedJavaType
corresponding to javaClass