Class NativeIsolateThread
java.lang.Object
org.graalvm.nativebridge.NativeIsolateThread
Represents an entered isolate thread.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the isolate for this thread.longReturns the isolate thread address.voidleave()Leaves theNativeIsolateon the current thread.
-
Method Details
-
getIsolateThreadId
public long getIsolateThreadId()Returns the isolate thread address.- Throws:
IllegalStateException- when theNativeIsolateThreadis no more entered.
-
getIsolate
Returns the isolate for this thread. -
leave
public void leave()Leaves theNativeIsolateon the current thread.
-