Package org.jruby

Class RubyGC

java.lang.Object
org.jruby.RubyGC

public class RubyGC extends Object
GC (Garbage Collection) Module Note: Since we rely on Java's memory model we can't provide the kind of control over garbage collection that MRI provides. Also note that since all Ruby libraries make GC assumptions based on MRI's GC that we decided to no-op explicit collection through these APIs. You can use Java Integration in your libraries to force a Java GC (assuming you really want to).