GraalVMRuntime

class GraalVMRuntime(val version: Version? = resolveVersion(), val variant: String? = resolveVariant()) : HostRuntime

Implementation of the HostRuntime information for GraalVM-based engines.

A GraalVM Runtime has two known variants: "native", when running from a Native Image, and "jvm", when running on a regular GraalVM JDK.

When running in JVM mode, the version is resolved from the host JDK, while on a Native Image, the version is translated from the current SubstrateVM release.

See also

Constructors

Link copied to clipboard
constructor(version: Version? = resolveVersion(), variant: String? = resolveVariant())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether this runtime is hosted from a GraalVM Native Image.

Link copied to clipboard
open override val name: String
Link copied to clipboard

Whether this runtime is being executed from native compiled code.

Link copied to clipboard
open override val variant: String?
Link copied to clipboard
open override val version: Version?