Destructors, Finalizers, and Synchronization



Click here to start the Slideshow





Created on Wednesday 22 January 2003 by Hans-J. Boehm

Table of Contents
  1. Destructors, Finalizers, and Synchronization
  2. Object cleanup
  3. Object Cleanup (2)
  4. Implementing finalization
  5. Overview (rest of talk):
  6. Myth #1:
  7. Really 3 myths?
  8. Myth #2: (usually implicit)
  9. Myth #3:
  10. Myth #4:
  11. Garbage collectors should run finalizers from a separate thread.
  12. Late finalization is necessary, but
  13. Myth #5
  14. Myth #6:
  15. Myth #7:
  16. Myth #8:
  17. Conclusions