2003-09-23
2003-09-23 22:27:50 by Martin Stjernholm <mast@lysator.liu.se>
-
04bbb768a0af12a8973f08ff0e9375cb1039b96d
(33 lines)
(+18/-15)
[
Show
| Annotate
]
Branch: 7.9
Make sure gc_found_in etc are cleared in locate_references in case
it's used recursively.
Rev: src/gc.c:1.233
2:
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
- || $Id: gc.c,v 1.232 2003/09/10 15:21:57 mast Exp $
+ || $Id: gc.c,v 1.233 2003/09/23 22:27:50 mast Exp $
*/
#include "global.h"
33:
#include "block_alloc.h"
- RCSID("$Id: gc.c,v 1.232 2003/09/10 15:21:57 mast Exp $");
+ RCSID("$Id: gc.c,v 1.233 2003/09/23 22:27:50 mast Exp $");
int gc_enabled = 1;
1577: Inside #if defined(PIKE_DEBUG)
check_for=a;
+ GC_ENTER (NULL, PIKE_T_UNKNOWN) {
gc_check_all_arrays();
gc_check_all_multisets();
gc_check_all_mappings();
1594: Inside #if defined(PIKE_DEBUG)
#endif
call_callback(& gc_callbacks, NULL);
+ } GC_LEAVE;
#ifdef DEBUG_MALLOC
{