public class LibGraalObject extends Object
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.Modifier | Constructor and Description |
---|---|
protected |
LibGraalObject(long handle)
Creates a new
LibGraalObject . |
Modifier and Type | Method and Description |
---|---|
long |
getHandle()
Gets the raw JNI handle wrapped by this object.
|
String |
toString() |
protected LibGraalObject(long handle)
LibGraalObject
.handle
- handle to an object in a libgraal isolate