From owner-freebsd-hackers Sat May 16 21:15:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA29150 for freebsd-hackers-outgoing; Sat, 16 May 1998 21:15:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA29144 for ; Sat, 16 May 1998 21:15:05 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id XAA13355; Sat, 16 May 1998 23:12:21 -0400 (EDT) Date: Sat, 16 May 1998 23:12:21 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: Greg Lehey cc: hackers@FreeBSD.ORG Subject: Re: g++ new allocator In-Reply-To: <19980517100542.E346@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 17 May 1998, Greg Lehey wrote: > On Sat, 16 May 1998 at 10:20:38 -0400, Chuck Robey wrote: > > Does anyone know if the "new" operator, using g++, uses it's own > > allocator, or PHK's libc malloc? I have a problem I'm trying to shoot > > that uses the libstdc++ and sigbus's, and I was wondering which route > > the code is going. > > My understanding is that it uses whichever malloc is bound in with the > executable. ... Umm ... it's built using our libstdc++ (I just compiled it). The question is what malloc does the g++ using our own libstdc++ (on current, actually) use? I didn't post this to current because I didn't think it applied only to current. I guess I don't understand what you mean by "whichever malloc is bound in with the executable", if I'm doing the binding here. > > Greg > -- > See complete headers for address and phone numbers > finger grog@lemis.com for PGP public key > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message