Class HotSpotTruffleRuntimeAccess

java.lang.Object
com.oracle.truffle.runtime.hotspot.HotSpotTruffleRuntimeAccess
All Implemented Interfaces:
com.oracle.truffle.api.TruffleRuntimeAccess

public final class HotSpotTruffleRuntimeAccess extends Object implements com.oracle.truffle.api.TruffleRuntimeAccess
  • Constructor Details

    • HotSpotTruffleRuntimeAccess

      public HotSpotTruffleRuntimeAccess()
  • Method Details

    • getRuntime

      public com.oracle.truffle.api.TruffleRuntime getRuntime()
      Specified by:
      getRuntime in interface com.oracle.truffle.api.TruffleRuntimeAccess
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface com.oracle.truffle.api.TruffleRuntimeAccess
    • createRuntime

      protected static com.oracle.truffle.api.TruffleRuntime createRuntime()
    • getCompilerVersion

      public static org.graalvm.home.Version getCompilerVersion(com.oracle.truffle.compiler.TruffleCompilationSupport compilationSupport)
      Retrieves the compiler version from the provided TruffleCompilationSupport instance using reflection. If the method is unavailable, a fallback version of 23.1.1 is returned.