Thu gom rác (khoa học máy tính)
Giao diện
(Đổi hướng từ Bộ dọn rác)
Trong khoa học máy tính, thu gom rác (tiếng Anh: garbage collection hay GC) là một dạng quản lý bộ nhớ tự động. Bộ gom rác (garbage collector hay collector), sẽ cố gắng thu hồi rác, hay vùng nhớ bị chiếm dụng bởi đối tượng mà không còn được sử dụng bởi chương trình. Thu gom rác được phát minh bởi John McCarthy vào khoảng năm 1959 để đơn giản hóa việc quản lý bộ nhớ thủ công trong Lisp.[1][2]
Tham khảo
- ^ "Recursive functions of symbolic expressions and their computation by machine, Part I". Portal.acm.org. Truy cập ngày 29 tháng 3 năm 2009.
- ^ "Recursive functions of symbolic expressions and their computation by machine, Part I". Truy cập ngày 29 tháng 5 năm 2009.
Đọc thêm
- Jones, Richard; Hosking, Antony; Moss, Eliot (ngày 19 tháng 8 năm 2011). The Garbage Collection Handbook: The Art of Automatic Memory Management. CRC Applied Algorithms and Data Structures Series. Chapman and Hall/CRC. ISBN 1-4200-8279-5.
- Jones, Richard; Lins, Rafael D. (1996). Garbage Collection: Algorithms for Automatic Dynamic Memory Management. Wiley. ISBN 0-471-94148-4.
- Wilson, Paul R.; Johnstone, M. S.; Neely, M.; Boles, D. (1995). "Dynamic Storage Allocation: A Survey and Critical Review". International Workshop on Memory Management. CiteSeerX 10.1.1.47.275.
- Wilson, Paul R. (1992). "Uniprocessor Garbage Collection Techniques". IWMM '92 Proceedings of the International Workshop on Memory Management. Springer-Verlag. CiteSeerX 10.1.1.47.2438.
Liên kết ngoài
- The Memory Management Reference
- The Very Basics of Garbage Collection Lưu trữ ngày 7 tháng 10 năm 2011 tại Wayback Machine
- Java SE 6 HotSpot™ Virtual Machine Garbage Collection Tuning
- TinyGC - an independent implementation of the BoehmGC API
- Conservative Garbage Collection Implementation for C Language Lưu trữ ngày 17 tháng 10 năm 2011 tại Wayback Machine
- MeixnerGC - an incremental mark and sweep garbage collector for C++ using smart pointers
Bản mẫu:Quản lý bộ nhớ Bản mẫu:John McCarthy Lỗi Lua trong Mô_đun:Authority_control tại dòng 152: attempt to index field 'wikibase' (a nil value).