Class CurrentIsolate

java.lang.Object
org.graalvm.nativeimage.CurrentIsolate

public final class CurrentIsolate extends Object
Utility methods that provide access to the current isolate.
Since:
19.0
  • Method Details

    • getIsolate

      public static Isolate getIsolate()
      Returns the current isolate.
      Since:
      19.0
    • getCurrentThread

      public static IsolateThread getCurrentThread()
      Returns the current thread in the current isolate.
      Since:
      19.0