Paul Brannan
11/24/2006 5:02:00 PM
On Thu, Nov 23, 2006 at 08:38:30PM +0900, Tim Hollingsworth wrote:
> This keeps the GC informed about allocations.
I think this is probably unnecessary. You're informing the GC about
allocations for memory it doesn't control. The GC may be invoked more
often, but it won't be able to free any more memory. If you don't use
xmalloc, then the GC should still function correctly, and will still
try to free memory if malloc fails (though I suppose it's a little
unfortunate that malloc doesn't typically fail on many operating
systems).
Paul