Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Jeroen J. Dirks" <jeroend@tor.numetrix.com>
Subject: Slow malloc / cartesian_insert cartesian_alloc keep_malloc
Date: 1996/09/24	[thread overview]
Message-ID: <32486A4A.16E6@tor.numetrix.com> (raw)


The alpha port of one of our products is very slow during the loading
of a file (which uses a lot of XtMalloc calls)

Here are some of the functions that get called:
(ctrl-c in decladebug followed by where)

>0  0x120513d7c in cartesian_insert(0x1205154a8, 0x14051d100, 0x14051d100, 0x3, 0x11fffc4d8, 0x1401bb830) ../../../../../../src/usr/ccs/lib/libc/malloc.c:1884
#1  0x120514c18 in cartesian_alloc(0x28, 0x40, 0x1200d88d0, 0x0, 0x2,
0x100000000) ../../../../../../src/usr/ccs/lib/libc/malloc.c:1518
#2  0x120514dac in keep_malloc(0x2, 0x11fffa750, 0xffffffffffffffff,
0x140331350, 0x120514db0, 0x19)
../../../../../../src/usr/ccs/lib/libc/malloc.c:757
#3  0x120515a00 in malloc(0xffffffffffffffff, 0x1, 0x11fffc4d8,
0x1401bb830, 0x11fffcab0, 0x0)
../../../../../../src/usr/ccs/lib/libc/malloc.c:745
#4  0x12044a6a4 in XtMalloc(0x11fffcab0, 0x0, 0x1200da778, 0x51,
0x1200dad84, 0x100000002) Alloc.c:128

Why does this malloc do all this extra work?

compiler options: -g

linker options: -g2 -O1 -non_shared

Should I use other compiler/linker options?

P.S. we have OSF1 V3.2 214 alpha
-- 
========================- Jeroen J. Dirks -==========================
email: jeroend@tor.numetrix.com             tel: +1 416 979 6797 x160
Numetrix Limited (http://www.numetrix.com)  fax: +1 416 979 9504
---------------------------------------------------------------------
655 Bay Street      Suite 1200       Toronto      Canada      M5G 2K4



                 reply	other threads:[~1996-09-24  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox