home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!faatcrl!iecc!compilers-sender
- From: David.Chase@Eng.Sun.COM (David Chase)
- Newsgroups: comp.compilers
- Subject: Re: Garbage Collection
- Keywords: storage, GC
- Message-ID: <92-08-067@comp.compilers>
- Date: 13 Aug 92 21:42:09 GMT
- References: <92-08-056@comp.compilers> <92-08-045@comp.compilers>
- Sender: compilers-sender@iecc.cambridge.ma.us
- Reply-To: David.Chase@Eng.Sun.COM (David Chase)
- Organization: Compilers Central
- Lines: 23
- Approved: compilers@iecc.cambridge.ma.us
-
- > Correct me if I'm wrong, but you seem to be saying that you're
- > using the stack and the registers as roots of garbage collection. ...
- > If we decide, in an attempt to be _really_conservative_,
- > to assume everything is a pointer, then we pay a double penalty: since
- > we're wasting time moving junk around, garbage collection takes longer,
- > and since we're not reclaiming storage that is actually free, we collect
- > more often.
-
- > It seems clear that this naive approach won't be satisfactory, so
- > what can we do?
-
- I'd suggest reading "Garbage Collection in an Uncooperative
- Environment" by Boehm and Weiser in _Software Practice and Experience_,
- September 1988.
-
- Their naive and clearly unsatisfactory approach works quite well, in
- practice.
-
- David Chase
- Sun
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-