"No aliasing = no garbage collection"

From: Oyvind Teig (Oyvind.Teig_at_email.domain.hidden)
Date: 2000-09-22 09:41:09


After CPA 2000 I have some questions:

   Tom Locke (PhD student au UKC) said something like "if we
   remove aliasing, we also remove garbage collection, because
   we will not have non-parental objects floating around."

   A somewhat weaker predicate might be "if we have aliasing
   under control, GC may also be under controll, in a predictive
   way." Is this true? Objects would still be taken from the
   heap, the heap would still be fragmented and a need to
   defragment it would arise? Or could objects be taken from
   the stack (possible in RT-Java) in that case?

   (The background is that even if occam does not allow any
   form of aliasing, a "new" occaom+OO would allow some, like
   for containment, doubly linked lists etc.)

-- 
Oyvind
@ Oyvind Teig (oyvind.teig_at_autronica.no, oyvind.teig_at_computer.org)
@   Navia Maritime AS, division Autronica, 7005 Trondheim Norway 
@   Tel: +47 73 58 12 68, Fax: +47 73 58 10 01
@   http://www.autronica.no/ 
@   Now part of world's largest company in maritime electronics: 
@   http://www.kongsberg.com/
@ Publications at: http://www.autronica.no/pub/tech/rd/index.htm

Original text of this message

This archive was generated by hypermail 2.1.7 on 2004-10-31 20:03:54 GMT
© Copyright WoTUG
All rights reserved