Class LibGraalObject
java.lang.Object
com.oracle.truffle.runtime.hotspot.libgraal.LibGraalObject
Encapsulates a handle to an object in a libgraal isolate where the object's lifetime is bound to
the lifetime of the
LibGraalObject instance. At some point after a LibGraalObject
is garbage collected, a call is made to release the handle, allowing the libgraal object to be
collected.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLibGraalObject(long handle) Creates a newLibGraalObject. -
Method Summary
-
Constructor Details
-
LibGraalObject
protected LibGraalObject(long handle) Creates a newLibGraalObject.- Parameters:
handle- handle to an object in a libgraal isolate
-
-
Method Details
-
getHandle
public long getHandle()Gets the raw JNI handle wrapped by this object. -
toString
-