🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.eiffel
Article #1569

Re: arrays and garbage collection

#1569
From: Bertrand Meyer
Date: Fri, 16 Feb 1990 20:26
19 lines
1033 bytes
In <1223@m3.mfci.UUCP>, genly@bubble.multiflow.COM (Chris Hind Genly)
asks:

> A C function called 'alloc' is called to
> allocate space for the array.  Doesn't this prohibit the garbage
> collector from knowing what type of data is kept in the array?  If so
> doesn't this cause objects referenced through only an array to be
> collected as garbage?!


No. Arrays are properly reclaimed by the garbage collector, and objects
referenced directly or indirectly by array elements are handled correctly.




-- 
-- Bertrand Meyer
bertrand@eiffel.com
Technical Details
Message-ID: <244@eiffel.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!swrinde!ucsd!hub!eiffel!bertrand
References: <1223@m3.mfci.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!swrinde!ucsd!hub!eiffel!bertrand
From: bertrand@eiffel.UUCP (Bertrand Meyer)
Newsgroups: comp.lang.eiffel
Subject: Re: arrays and garbage collection
Summary: Arrays are reclaimed
Message-ID: <244@eiffel.UUCP>
Date: 16 Feb 90 20:26:22 GMT
References: <1223@m3.mfci.UUCP>
Distribution: comp
Organization: Interactive Software Engineering, Santa Barbara CA
Lines: 19