pike.git/
src/
gc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2012-07-02
2012-07-02 13:14:34 by Arne Goedeke <el@laramies.com>
ca8ee0d58d63ca94178b36e41a1329c67ad503e9 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
arne/block_alloc
undef EXIT_BLOCK
412:
static unsigned max_rec_frames, max_link_frames; static unsigned tot_max_rec_frames = 0, tot_max_link_frames = 0, tot_max_free_extra_frames = 0;
+
#ifndef PIKE_NEW_BLOCK_ALLOC
#undef INIT_BLOCK #define INIT_BLOCK(f) do { \ if (++rec_frames > max_rec_frames) \
430:
rec_frames--; \ } while (0)
-
#ifndef PIKE_NEW_BLOCK_ALLOC
+
BLOCK_ALLOC_FILL_PAGES (gc_rec_frame, 2) #else #include "gjalloc.h"
564:
(X)->flags=(X)->refs=(X)->weak_refs=0; \ (X)->frame = 0; #endif
+
#undef EXIT_BLOCK
+
#define EXIT_BLOCK(f)
#undef get_marker #define get_marker debug_get_marker