freebsd-dev/lib/libc
Poul-Henning Kamp 7aa70c9e8e phkmalloc/2
"zero' and 'junk' options to help find and diagnose malloc abuse.
EXTRA_SANITY defaults "junk" to on.
Don't dump the internal state, unless EXTRA_SANITY.
General code cleanup.
Error messages cleaned up a bit, more checking earlier.
EXTRA_SANITY is default at this time (just in case).
Performance (without EXTRA_SANITY) is better, beats gnumalloc in
both time & space most of the time:

	# In-memory test.
	./malloc 50000000 2000 8192
	159.2u 1.5s 2:41.85 99.3% 5+7742k 0+0io 0pf+0w
	./gnumalloc 50000000 2000 8192
	272.6u 0.4s 4:35.01 99.3% 5+8533k 0+0io 0pf+0w

	# Swap-space test.
	./malloc 500000 14000 8192
	6.5u 4.1s 4:08.87 4.3% 5+49209k 0+0io 9772pf+0w
	./gnumalloc 500000 14000 8192
	16.2u 14.5s 15:36.14 3.2% 5+54100k 0+0io 47651pf+0w

	# Small items test.
	./malloc 20000000 20000 2048
	67.0u 0.3s 1:07.83 99.2% 5+18199k 0+0io 4pf+0w
	./gnumalloc 20000000 20000 2048
	66.2u 0.3s 1:07.03 99.3% 5+18107k 0+0io 0pf+0w

SANITY is not an option anymore. (!!)
1995-10-08 18:44:20 +00:00
..
amd64 remove GCC support functions from libc. 1995-10-05 10:24:57 +00:00
compat-43 Remove setre*id*. 1995-04-25 10:00:04 +00:00
db Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
gen Some NIS bug stomping: 1995-10-06 21:29:01 +00:00
gmon Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
i386 remove GCC support functions from libc. 1995-10-05 10:24:57 +00:00
locale Forget to close file 1995-08-11 08:44:31 +00:00
net Remove the CFLAGS+=-I${CURDIR}/net that I previously added. 1995-08-21 17:50:01 +00:00
nls Add /usr/local/share/nls to default search path 1995-06-17 03:02:21 +00:00
quad Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
regex Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
rpc Reviewed by: David Greenman 1995-08-02 09:14:23 +00:00
stdio Make a link-time warning for the use of gets(). 1995-10-04 18:29:01 +00:00
stdlib phkmalloc/2 1995-10-08 18:44:20 +00:00
stdtime Fix manpage to reflect current sources 1995-08-07 23:36:08 +00:00
string Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
sys Add man pages for the SYSV shm* and sem* functions. 1995-10-03 19:17:21 +00:00
xdr Confirmed to work by: rcarter@geli.com (Russell Carter) 1995-07-22 23:32:13 +00:00
yp Clear up a minor bogosity in yp_match(): we have YPMATCHCACHE turned 1995-09-02 04:16:21 +00:00
Makefile Bump shlib minor because xdr_* functions have been enabled. Do NOT 1995-08-09 06:50:52 +00:00