Branch: Tag:

2000-03-07

2000-03-07 21:23:42 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

dmalloc updated and optimized

Rev: src/array.c:1.62
Rev: src/dmalloc.h:1.19
Rev: src/gc.c:1.49
Rev: src/main.c:1.81
Rev: src/pike_memory.c:1.53

1:   /* -  * $Id: dmalloc.h,v 1.18 1999/10/30 06:31:02 mast Exp $ +  * $Id: dmalloc.h,v 1.19 2000/03/07 21:23:41 hubbe Exp $    */      extern char *debug_xalloc(long);
28: Inside #if defined(DEBUG_MALLOC)
  extern int debug_malloc_close_fd(int, const char *, int);      void *debug_malloc_update_location(void *,const char *, int); + void search_all_memheaders_for_references(void);      /* Beware! names of named memory regions are never ever freed!! /Hubbe */   void *debug_malloc_name(void *p,const char *fn, int line);
82:   #define debug_free(X,Y,Z,Q) free((X))   #define debug_malloc_name(P,FN,LINE)   #define debug_malloc_copy_names(p,p2) + #define search_all_memheaders_for_references()   #endif