Package io.deephaven.jpy
Interface GcModule
- All Superinterfaces:
AutoCloseable
Java proxy module for gc.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
collect()
Run a full collection.static GcModule
create()
org.jpy.PyObject
get_referrers
(org.jpy.PyObject pyObject) Get the referrers for an object.
-
Method Details
-
create
-
collect
int collect()Run a full collection.- Returns:
- the number of unreachable objects found
- See Also:
-
get_referrers
org.jpy.PyObject get_referrers(org.jpy.PyObject pyObject) Get the referrers for an object. This method should be used for debugging only.- Parameters:
pyObject
- the python object- Returns:
- the list of objects that directly refer to any of objs
- See Also:
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-