From xemacs-m  Tue Sep 23 02:46:01 1997
Received: from birdland.rhein-neckar.de (root@birdland.rhein-neckar.de [193.197.88.3])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA19356
	for <xemacs-beta@xemacs.org>; Tue, 23 Sep 1997 02:45:59 -0500 (CDT)
Received: from amalthea.rhein-neckar.de (uucp@localhost) by birdland.rhein-neckar.de (8.8.7/8.8.3) with bsmtp id JAA27359; Tue, 23 Sep 1997 09:41:57 +0200 (MET DST)
Received: from arthur.rhein-neckar.de by amalthea.rhein-neckar.de
	via rsmtp with bsmtp
	id <m0xDPL0-00000VC@amalthea.rhein-neckar.de>
	for <xemacs-beta@xemacs.org>; Tue, 23 Sep 1997 09:24:50 +0200 (MEST)
	(Smail-3.2 1996-Jul-4 #5 built 1997-Jun-26)
Received: by arthur.rhein-neckar.de
	via sendmail with stdio
	id <m0xDPFq-0001j1C@arthur.rhein-neckar.de>
	for xemacs-beta@xemacs.org; Tue, 23 Sep 1997 09:19:30 +0200 (CEST)
	(Smail-3.2.0.95 1997-May-7 #5 built 1997-May-28)
To: xemacs-beta@xemacs.org
Cc: Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
Subject: Re: dlmalloc
References: <m27mcame88.fsf@altair.xemacs.org> <kig7mc91r56.fsf@jagor.srce.hr> <87wwk9yz85.fsf_-_@bittersweet.inetarena.com> <m23emx17zb.fsf@altair.xemacs.org>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
In-Reply-To: SL Baur's message of "22 Sep 1997 12:09:12 -0700"
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta18) - "Bratislava"
Date: 23 Sep 1997 09:19:30 +0200
Message-ID: <u8pvq0zed9.fsf@arthur.rhein-neckar.de>
Lines: 28


>>>>> SL Baur writes:

sb> Karl M Hegbloom <karlheg@inetarena.com> writes:
>>>>>>> "Hrvoje" == Hrvoje Niksic <hniksic@srce.hr> writes:

Hrvoje> Should we add the same stuff to XEmacs?  What *is*
Hrvoje> DOUG_LEA_MALLOC anyway?  We need a malloc guru here.

The problem with Doug Lea's malloc (which is as already been pointed
out used in glibc 2 and Linux libc 5.3) is that it uses mmaped memory
and has also internal variables which needs to be saved when dumping
XEmacs. I've been in contact with Wolfram Gloger
<wmglo@dent.med.uni-muenchen.de> who adopted Doug Lea's malloc for
glibc and Linux libc and who also incorporated the changes into Emacs
20. Using his patch I came up with a patch to XEmacs 19.15 that seemed 
to work for me without problems. But with XEmacs 20 I (and also Michael
Harnois) had problems with a Mule-Enabled XEmacs. Since I couldn't
find the problem directly, I stopped the work.

If you like to have my (non-working :-( ) patches, feel free to
ask. They might be a starting point.

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de
    http://www.student.uni-kl.de/~ajaeger/

