Mercurial > hg > xemacs-beta
annotate src/m/news-risc.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 | 3ecd8885ac67 |
children |
rev | line source |
---|---|
428 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
3 /* news-risc.h is for the "RISC News". */ | |
4 | |
5 #include "mips.h" | |
6 | |
7 #ifdef NEWSOS5 | |
8 | |
9 /* NEWS-OS 5.0.2 */ | |
10 | |
11 #undef LIBS_MACHINE | |
12 | |
13 #ifdef __GNUC__ | |
14 #define C_DEBUG_SWITCH "-g" | |
15 #define C_OPTIMIZE_SWITCH "-g -O" | |
16 #define LD_SWITCH_MACHINE "-g -Xlinker -D -Xlinker 800000" | |
17 #else | |
18 #define C_DEBUG_SWITCH "-g3" | |
19 #define C_OPTIMIZE_SWITCH "-g3" | |
20 #define LD_SWITCH_MACHINE "-g3 -D 800000 -non_shared" | |
21 #endif | |
22 | |
23 #else /* not NEWSOS5 */ | |
24 | |
25 /* The following line tells the configuration script what sort of | |
26 operating system this machine is likely to run. | |
27 USUAL-OPSYS="bsd4-3" */ | |
28 | |
29 #define COFF | |
30 #undef LD_SWITCH_MACHINE | |
31 #define LD_SWITCH_MACHINE "-x -D 800000" | |
32 | |
33 /* #define C_OPTIMIZE_SWITCH -O2 */ | |
34 #define C_OPTIMIZE_SWITCH "-O" | |
35 | |
36 #ifndef __GNUC__ | |
37 #define C_DEBUG_SWITCH "-g3" | |
38 #endif | |
39 | |
40 #undef TERMINFO | |
41 | |
42 /* We have no mode_t. */ | |
43 #define NO_MODE_T | |
44 | |
45 /* Don't use the definitions in m/mips.h. */ | |
46 #undef LINKER | |
47 #undef LIBS_MACHINE | |
48 | |
49 #undef KERNEL_FILE | |
50 #define KERNEL_FILE "/vmunix" | |
51 | |
52 #endif /* not NEWSOS5 */ |