Skip to content

ABAP Keyword Documentation →  ABAP Glossary 

garbage collector

Deletes objects that are no longer referenced by heap references or field symbols and for which no method is registered as an event handler. The garbage collector is called periodically by the ABAP runtime environment. It tracks the reference variables of deleted objects. The static method DO_GARBAGE_COLLECTION of system class CL_ABAP_MEMORY_UTILITIES can also be used to call the garbage collector explicitly in system programs. See also weak reference.

Other versions: 7.31 | 7.40 | 7.54