comparison src/emacs.c @ 2723:c474585a3460

[xemacs-hg @ 2005-04-10 00:47:53 by crestani] New Allocator Fixes * dumper.c (pdump_get_mc_addr): Use clearer code. * dumper.c (pdump_put_mc_addr): Use clearer code. * emacs.c (main_1): Initialize the new allocator only once. * mc-alloc.c (get_page_header): Split up the assertions to better spot the problem. * mc-alloc.c (mc_alloc_1): Move definitions of local variables to the beginning of the function.
author crestani
date Sun, 10 Apr 2005 00:47:58 +0000
parents 6fa9919a9a0b
children 414a64af46c9
comparison
equal deleted inserted replaced
2722:65bc67c9185a 2723:c474585a3460
914 #ifdef MC_ALLOC 914 #ifdef MC_ALLOC
915 #ifndef PDUMP 915 #ifndef PDUMP
916 if (!initialized) 916 if (!initialized)
917 #endif 917 #endif
918 { 918 {
919 init_mc_allocator (); 919 if (!restart)
920 {
921 init_mc_allocator ();
920 #ifdef MC_ALLOC_TYPE_STATS 922 #ifdef MC_ALLOC_TYPE_STATS
921 init_lrecord_stats (); 923 init_lrecord_stats ();
922 #endif /* not MC_ALLOC_TYPE_STATS */ 924 #endif /* not MC_ALLOC_TYPE_STATS */
925 }
923 } 926 }
924 #endif /* MC_ALLOC */ 927 #endif /* MC_ALLOC */
925 928
926 #ifdef NeXT 929 #ifdef NeXT
927 /* 19-Jun-1995 -baw 930 /* 19-Jun-1995 -baw