2010 | OriginalPaper | Buchkapitel
Garbage Collection
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
In this short chapter, we looked at how you can modify your classes to ensure that resources are released properly and that objects have a chance to tidy themselves up before they are destroyed by the garbage collector. We also looked at weak references, which allow you to create objects that are always candidates for destruction by the garbage collector.