Re: new gc interface

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Sun Jan 17 1999 - 20:54:23 EST


 In this paragraph, it should have read "Boehm's GC_make_descriptor"
functions. Boehm's gc allows you to create an allocation type by
specifying a bitmap. You pass the bitmap and create a descriptor,
then you use the descriptor.

>
> The register* functions are similar in spirit to the GC_make_descriptor
> functions. Unlike them, however, they require the caller to specify the
> index under which the allocation type should be registered. This is
> a bug and a feature: it's a bug cause it requires the caller to sort
> out its types, plus the number of types is currently statically limited.
> It's a feature since it does not require the caller to store and pass around
> pointers to descriptors, so it saves memory accesses.
>

        - Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:44 EDT