Design patterns in garbage collection
This thesis presents an examination of design patterns within the context of garbage collection. Initially, I review garbage collection and design patterns. Four garbage collectors are then examined and the design patterns found described. Both domain specific and generic patterns are described. The...
Main Author: | |
---|---|
Language: | en |
Published: |
University of Canterbury. Computer Science and Software Engineering
2008
|
Online Access: | http://hdl.handle.net/10092/1954 |
id |
ndltd-canterbury.ac.nz-oai-ir.canterbury.ac.nz-10092-1954 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-canterbury.ac.nz-oai-ir.canterbury.ac.nz-10092-19542015-03-30T15:29:00ZDesign patterns in garbage collectionYeates, Stuart AndrewThis thesis presents an examination of design patterns within the context of garbage collection. Initially, I review garbage collection and design patterns. Four garbage collectors are then examined and the design patterns found described. Both domain specific and generic patterns are described. The domain specific patterns are TriColour and RootSet, the generic patterns are Adaptor, Facade, Iterator and Proxy. It is hoped that by, applying these patterns, systems designers have access to a less efficient, but simpler and more flexible way of implementing and reusing garbage collectors in programming languages. The requirements analysis for a garbage collector for a real-time object-oriented micro-kernel is then performed, and a design prepared using the design patterns found in the other garbage collectors. The garbage collector is then implemented in Java using appropriate data structures. Due to timing difficulties in the runtime environment, timing was ruled out as a method of performance analysis. Algorithmic analysis is performed to evaluate the worst-case performance of the collector, which is found to be satisfactory in all but one method of the RootSet implementation. An approach to remedying this is suggested.University of Canterbury. Computer Science and Software Engineering2008-12-16T03:59:10Z2008-12-16T03:59:10Z1997Electronic thesis or dissertationTexthttp://hdl.handle.net/10092/1954enNZCUCopyright Stuart Andrew Yeateshttp://library.canterbury.ac.nz/thesis/etheses_copyright.shtml |
collection |
NDLTD |
language |
en |
sources |
NDLTD |
description |
This thesis presents an examination of design patterns within the context of garbage collection. Initially, I review garbage collection and design patterns. Four garbage collectors are then examined and the design patterns found described. Both domain specific and generic patterns are described. The domain specific patterns are TriColour and RootSet, the generic patterns are Adaptor, Facade, Iterator and Proxy.
It is hoped that by, applying these patterns, systems designers have access to a less efficient, but simpler and more flexible way of implementing and reusing garbage collectors in programming languages.
The requirements analysis for a garbage collector for a real-time object-oriented micro-kernel is then performed, and a design prepared using the design patterns found in the other garbage collectors. The garbage collector is then implemented in Java using appropriate data structures. Due to timing difficulties in the runtime environment, timing was ruled out as a method of performance analysis. Algorithmic analysis is performed to evaluate the worst-case performance of the collector, which is found to be satisfactory in all but one method of the RootSet implementation. An approach to remedying this is suggested. |
author |
Yeates, Stuart Andrew |
spellingShingle |
Yeates, Stuart Andrew Design patterns in garbage collection |
author_facet |
Yeates, Stuart Andrew |
author_sort |
Yeates, Stuart Andrew |
title |
Design patterns in garbage collection |
title_short |
Design patterns in garbage collection |
title_full |
Design patterns in garbage collection |
title_fullStr |
Design patterns in garbage collection |
title_full_unstemmed |
Design patterns in garbage collection |
title_sort |
design patterns in garbage collection |
publisher |
University of Canterbury. Computer Science and Software Engineering |
publishDate |
2008 |
url |
http://hdl.handle.net/10092/1954 |
work_keys_str_mv |
AT yeatesstuartandrew designpatternsingarbagecollection |
_version_ |
1716798467705143296 |