2001-09-06
2001-09-06 21:23:00 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
-
afbc72af34d2954fec01ba85a6271085924f0220
(7 lines)
(+4/-3)
[
Show
| Annotate
]
Branch: 7.9
minor speedups
Rev: src/block_alloc.h:1.36
Rev: src/block_alloc_h.h:1.11
Rev: src/gc.c:1.174
30:
#include "block_alloc.h"
- RCSID("$Id: gc.c,v 1.173 2001/09/06 16:53:43 mast Exp $");
+ RCSID("$Id: gc.c,v 1.174 2001/09/06 21:23:00 hubbe Exp $");
/* Run garbage collect approximately every time
* 20 percent of all arrays, objects and programs is
226:
#define find_marker debug_find_marker
#endif
- PTR_HASH_ALLOC(marker,MARKER_CHUNK_SIZE)
+ PTR_HASH_ALLOC_FIXED(marker,MARKER_CHUNK_SIZE)
#ifdef PIKE_DEBUG
1232: Inside #if defined(PIKE_DEBUG)
#ifdef PIKE_DEBUG
if (!gc_is_watching) {
#endif
- init_marker_hash();
+ low_init_marker_hash(num_objects);
get_marker(rec_list.data); /* Used to simplify fencepost conditions. */
#ifdef PIKE_DEBUG
}