Branch: Tag:

2000-03-20

2000-03-20 21:00:58 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

faster dmalloc

Rev: src/block_alloc.h:1.16
Rev: src/builtin_functions.c:1.245
Rev: src/dmalloc.h:1.20
Rev: src/dynamic_buffer.h:1.7
Rev: src/error.c:1.42
Rev: src/object.c:1.94
Rev: src/pike_memory.c:1.55
Rev: src/pike_types.h:1.38
Rev: src/stralloc.c:1.80
Rev: src/stralloc.h:1.41
Rev: src/svalue.c:1.63
Rev: src/svalue.h:1.48

5:   \*/      /* -  * $Id: dynamic_buffer.h,v 1.6 1998/03/28 15:33:30 grubba Exp $ +  * $Id: dynamic_buffer.h,v 1.7 2000/03/20 21:00:04 hubbe Exp $    */   #ifndef DYNAMIC_BUFFER_H   #define DYNAMIC_BUFFER_H
52:   #ifdef DEBUG_MALLOC   #define initialize_buf(X) \    do { dynamic_buffer *b_=(X); debug_initialize_buf(b_); \ -  debug_malloc_update_location(b_->s.str,__FILE__,__LINE__); } while(0) +  debug_malloc_touch(b_->s.str); } while(0)   #define low_free_buf(X) \    ((struct pike_string *)debug_malloc_touch(debug_low_free_buf(X)))