From b51d76ce8dfeb1dd3cc3e69b32cf665ff32ff26e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 17 Nov 2009 09:56:03 -0200 Subject: when doing hard memory tests, perform a full GC at every possible step --- lgc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index abceca78..e79eb5db 100644 --- a/lgc.h +++ b/lgc.h @@ -1,5 +1,5 @@ /* -** $Id: lgc.h,v 2.20 2009/04/28 19:04:36 roberto Exp roberto $ +** $Id: lgc.h,v 2.21 2009/06/08 19:35:59 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -79,7 +79,7 @@ #define luaC_checkGC(L) \ - {condmovestack(L); if (G(L)->totalbytes >= G(L)->GCthreshold) luaC_step(L);} + {condchangemem(L); if (G(L)->totalbytes >= G(L)->GCthreshold) luaC_step(L);} #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ -- cgit v1.2.3-55-g6feb