[Gc] GC_allochblk_nth bug

Bruce Hoult bruce at hoult.org
Sun Mar 2 17:30:39 PST 2008

On Mon, Mar 3, 2008 at 2:19 PM, Romano Tenca <rotenca at gmail.com> wrote:
> I have a segmentation fault if i add these lines to gctest soon after
>  GC_INIT()
>      GC_expand_hp(1024*1024*5);
>      void *r = GC_MALLOC(2147483647-1024);

Does anyone else think it's just fundamentally a bad idea to use such
a large portion of the address space for a conservative garbage
collector's heap?

More information about the Gc mailing list