[Gc] Basic questions
Thu, 15 May 2003 03:37:00 +1000
On 14-May-2003, Boehm, Hans <firstname.lastname@example.org> wrote:
> > -----Original Message-----
> > From: Emmanuel Stapf [ES] [mailto:email@example.com]
> > Thanks for the detailed explanation. I feel that one could
> > make GC_malloc
> > determine whether or not it should use its default
> > implementation or if it should
> > be calling GC_malloc_ignore_off_page. The choice could be
> > made based on runtime
> > configuration, no?
> The problem is that when you use GC_malloc_ignore_off_page(), you
> promise that a pointer to (near) the base of the object will be
> stored someplace where it's visible to the GC. That's not required for
> a GC_malloc() call.
I think Emmanuel Stapf was referring to the case when ALL_INTERIOR_POINTERS
is not defined, in which case you do have that guarantee.
Fergus Henderson <firstname.lastname@example.org> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.