Ấn phẩm:
Magpie: Precise garbage collection for C
Đang tải...
Xem mô tả
58
Xem & Tải
4
Nhan đề khác
Tóm tắt
C and C++ provide fast, flexible substrata for programs requiring speed or tight coupling with the operating system or hardware. Both languages have well established user and code bases, including programs still in use after decades of development. Unfortunately, with C and C++'s speed and flexibility come increased complexity, including complication in managing memory. Programs must create and destroy objects explicitly, and small mistakes in doing so can cause severe complications.
In other languages, precise garbage collection solves these problems by having the computer manage the program's memory. However, until now, adding precise garbage collection to standard C programs has been a considerable amount of work. This dissertation describes Magpie, a system that uses several analyses and conversion techniques to relieve much of the burden of this conversion. It also describes the effects of the conversion on several sample programs.
Finally, debugging tools and language runtimes can perform additional interesting tasks given an existing garbage collection infrastructure. This dissertation outlines several such extensions, and discusses one - memory accounting - in detail.
Tác giả
Wick, Adam
Người hướng dẫn
Nơi xuất bản
Nhà xuất bản
The University of Utah
Năm xuất bản
2006
ISSN tạp chí
Nhan đề tập
Từ khóa chủ đề
C++ (Ngôn ngữ lập trình máy tính) , C (Ngôn ngữ lập trình máy tính)