Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Freeing instances of classes

You do not need to take any action to free individual object instances of any class. No syntax is available for doing so. The Java runtime system automatically performs garbage collection, that is, it reclaims the memory for objects that are no longer in use.

There could be times, however, when you need to explicitly free local or global references to objects within a native COBOL client in order to permit garbage collection of the referenced objects to occur.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)