Path: utzoo!attcan!uunet!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: comp.lang.modula3 Subject: Re: optimization and garbage collection Message-ID: <2v+5h2.[21@smurf.sub.org> Date: 11 Jan 91 21:11:43 GMT References: <5142@exodus.Eng.Sun.COM> <39976@super.ORG> <5293@exodus.Eng.Sun.COM> Organization: University of Karlsruhe, FRG Lines: 16 In comp.lang.modula3, article <5293@exodus.Eng.Sun.COM>, chased@rbbb.Eng.Sun.COM (David Chase) writes: < < The garbage collector goes looking for pointers to the beginning < of an object, finds none, and reclaims the object (incorrectly). < Any temporaries referencing the object are now dangling pointers. < It might be more reasonable to mark the object in use if there is any pointer anywhere into the object. Has anyone tried this and watched whether, for a test case which exhibits the problem, said problem goes away? -- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49+721+621127(0700-2330) \o)/