From: Paul Brannan Date: 2006-11-25T02:02:02+09:00 Subject: Re: Multi-threaded C++, new, and xmalloc 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