Mercurial > hg > xemacs-beta
view src/s/isc2-2.h @ 2775:05d62157e048
[xemacs-hg @ 2005-05-15 16:37:52 by crestani]
New allocator improvements
lisp/ChangeLog addition:
2005-05-15 Marcus Crestani <crestani@xemacs.org>
* diagnose.el: Lrecord and string data statistics.
* diagnose.el (show-memory-usage): Add output for additional
lrecord statistics (currently only string data).
* diagnose.el (show-lrecord-stats): New. Print detailed lrecord
statistics.
src/ChangeLog addition:
2005-05-15 Marcus Crestani <crestani@xemacs.org>
* alloc.c: Add string data statistics.
* alloc.c (dec_lrecord_stats): Use size of lrecord for statistics
and cons counter bookkeeping.
* alloc.c (finalize_string): Add string data statistics.
* alloc.c (make_uninit_string): Add string data statistics.
* alloc.c (make_string_nocopy): Add string data statistics.
* alloc.c (kkcc_marking): Move break out of #ifdef.
* alloc.c (Flrecord_stats): New. Collect lrecord statistics.
* alloc.c (Fgarbage_collect): Use Flrecord_stats.
* alloc.c (syms_of_alloc): Add Flrecord_stats.
* dumper.c: Fix hash table.
* dumper.c (pdump_make_hash): Fix hash table.
* dumper.c (pdump_get_mc_addr): Fix hash table.
* dumper.c (pdump_put_mc_addr): Fix hash table.
* dumper.c (pdump_reloc_one_mc): Fix indentation.
* dumper.c (pdump_load_finish): Add lrecord statistics
bookkeeping.
* lrecord.h: Add string data statistics.
* mc-alloc.c (remove_cell): Lrecord statistics, fix indentation.
* mule-charset.c: Marking through *_unicode_description not
needed.
* symbols.c (init_symbols_once_early): Bump lrecord statistics.
* window.c: Marking through line_start_cache not needed.
* xemacs.def.in.in: Fix typo.
author | crestani |
---|---|
date | Sun, 15 May 2005 16:38:14 +0000 |
parents | c69610198c35 |
children |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ /* system description file for Interactive (ISC) Unix version 2.2 on the 386. */ #include "usg5-3.h" /* select (in -linet) works okay on X ptys, but not on the serial port. karl@cs.umb.edu says that with that select call, subprocesses made by (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems have been observed in ISC 3.0. */ #define BROKEN_SELECT_NON_X /* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't what Emacs needs; it makes interrupt-shell-subjob and the like do nothing. But that appears to have been another manifestation of the broken select, so it should now be safe to define this again. */ #define HAVE_SOCKETS #define NO_SOCKETS_IN_FILE_SYSTEM #define NEED_NET_ERRNO_H /* This keeps the .cdbx section that gcc puts out when generating stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ #define USG_SHARED_LIBRARIES #define NO_FCHMOD #define MAXNAMLEN 512 #define O_NDELAY O_NONBLOCK #define MEMORY_IN_STRING_H /* Tell gmalloc.c that we don't have memmove (system include files to the contrary!). */ #define MEMMOVE_MISSING /* -lPW is only needed if not using Gcc. We used to include -lcposix here for the rename function, but some people say ISC's rename doesn't work correctly with Emacs so we use Emacs' emulation instead. */ #if defined (__GNUC__) # define LIB_STANDARD_1 -lcposix #else /* !__GNUC__ */ # define LIB_STANDARD_1 -lPW #endif /* !__GNUC__ */ /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM (the latter for the sake of configure). */ #define LIB_STANDARD LIB_STANDARD_1 -lc #define NO_X_DESTROY_DATABASE /* -linet may be needed to avoid undefined symbols such as gethostname, inet_addr, gethostbyname, socket, connect, ... */ #define LIBS_SYSTEM -linet LIB_STANDARD_1 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary when -traditional is being used, but it doesn't hurt to unconditionally define this. */ #define NO_ASM /* -traditional is not necessary if the system header files are fixed to define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 on do this. */ #if !defined (__GNUC__) || __GNUC__ < 2 # define C_SWITCH_SYSTEM "-traditional" #endif /* Some versions of ISC are said to define S_IFLNK even tho they don't really support symlinks. */ #undef S_IFLNK