Off-campus UMass Amherst users: To download dissertations, please use the following link to log into our proxy server with your UMass Amherst user name and password.

Non-UMass Amherst users, please click the view more button below to purchase a copy of this dissertation from Proquest.

(Some titles may also be available free of charge in our Open Access Dissertation Collection, so please check there first.)

High -performance copying garbage collection with low space overhead

Narendran Sachindran, University of Massachusetts Amherst

Abstract

Managed run-time environments such as Java and .NET are now used for a wide variety of applications. They provide a number of advantages to application developers, including reduced application development time, safer code, and portability. A major component of the run-time systems for these environments is the garbage collector, which relieves application developers from having to manage memory explicitly. While garbage collectors should provide good throughput and short response times with low space overheads, most modern garbage collectors that meet the first two requirements tend to impose a significant space overhead. Copying garbage collection, one of many garbage collection techniques, provides a number of advantages over other collection methods including cheap allocation and prevention of fragmentation. However, the space overhead of previous copying techniques have been particularly high. In this thesis, we first perform a detailed study of previous copying collection techniques, including generational copying collection and the Train collector. We identify limitations of the Train collector that cause it to perform poorly especially in the presence of large, cyclic data structures. We describe a new copying garbage collection technique, Mark-Copy, that extends generational copying collection, and overcomes the factor-of-two space overheads of a regular copying collector. Additionally, it overcomes some of the limitations of the Train collector. We show that Mark-Copy can provide high throughput while running in limited amounts of memory. We then present MC2, a collector that extends Mark-Copy and provides high throughput and short pause times while running with low space overhead, thus making it suitable for applications running on memory-constrained devices. These qualities also make MC 2 attractive for other environments, including desktops and servers.

Subject Area

Computer science

Recommended Citation

Sachindran, Narendran, "High -performance copying garbage collection with low space overhead" (2005). Doctoral Dissertations Available from Proquest. AAI3179921.
https://scholarworks.umass.edu/dissertations/AAI3179921

Share

COinS