
BBjRuntime::doGC
Description
In BBj 9.0 and higher, this method causes the JVM to do a garbage collection.
Syntax
Return Value |
Method |
---|---|
void |
doGC() |
Parameters
None.
Return Value
None.
Remarks
Calling BBjAPI().getRuntime().doGC() is equivalent to calling java.lang.System.gc().
When a program is stopped at the console, entering the dot command .gc is equivalent to entering the command BBjAPI().getRuntime().doGC().
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.