[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [DotGNU]Garbage collection in Portable .NET

From: Thong (Tum) Nguyen
Subject: RE: [DotGNU]Garbage collection in Portable .NET
Date: Wed, 3 Mar 2004 07:16:35 +1300

Hi Gomi,

Most objects in the engine don't need to be allocated on the GC heap which
is why they use ILMalloc (etc).  Objects that need to be managed by the GC
(usually "managed" .net objects) are allocated using ILGCAlloc and friends
(see engine/heap.c) :)



> -----Original Message-----
> From: Gomi Kapoor [mailto:address@hidden
> Sent: Wednesday, 3 March 2004 6:16 a.m.
> To: Rhys Weatherley; pnet
> Subject: Re: [DotGNU]Garbage collection in Portable .NET
> Hi Rhys,
> > Of course.  We use the standard "libgc" library to
> > provide garbage collection,
> > and have for about 2 and a bit years now.
> I just had a look at the README.QUICK in libgc
> directory. It says that use GCMALLOC, GCREALLOC etc.
> instead of malloc, realloc...
> Just a quick look at the sources in "engine" showed me
> that most of the places ILMalloc,ILRealloc etc. are
> used and ILMalloc,ILCalloc etc are defined in
> support/allocate.c But they are just calling malloc
> and calloc.
> Am I missing something obvious?
> I am new to Linux systems and just trying to get my
> hands dirty. Hence some questions may be just too
> silly.
> Regards,
> Gomi
> ________________________________________________________________________
> Yahoo! India Insurance Special: Be informed on the best policies,
> services, tools and more.
> Go to:
> _______________________________________________
> Developers mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]