Accurate garbage collection in an uncooperative environment. Henderson, F. In Proc. of the 3rd Int'l Symp. on Memory management, pages 150--156, 2002.
abstract   bibtex   
Previous attempts at garbage collection in uncooperative environments have generally used conservative or mostly-conservative approaches. We describe a technique for doing fully type-accurate garbage collection in an uncooperative environment, using a "shadow stack" to link structs of pointer-containing variables, together with the data or code needed to trace them. We have implemented this in the Mercury compiler, which generates C code, and present preliminary performance data on the overheads of this technique. We also show how this technique can be extended to handle multithreaded applications.
@inproceedings{henderson_accurate_2002,
	title = {Accurate garbage collection in an uncooperative environment},
	abstract = {Previous attempts at garbage collection in uncooperative environments have generally used conservative or mostly-conservative approaches. We describe a technique for doing fully type-accurate garbage collection in an uncooperative environment, using a "shadow stack" to link structs of pointer-containing variables, together with the data or code needed to trace them. We have implemented this in the Mercury compiler, which generates C code, and present preliminary performance data on the overheads of this technique. We also show how this technique can be extended to handle multithreaded applications.},
	urldate = {2013-07-08TZ},
	booktitle = {Proc. of the 3rd {Int}'l {Symp}. on {Memory} management},
	author = {Henderson, Fergus},
	year = {2002},
	keywords = {C, garbage collection, multithreading, programming language implementation},
	pages = {150--156}
}

Downloads: 0