Remove bogus assertion for GC estimate vs. threshold.

master
Mike Pall 2011-06-09 01:34:10 +02:00
parent 8c32b38ca3
commit 96cc99bd6a
1 changed files with 0 additions and 1 deletions

View File

@ -674,7 +674,6 @@ int LJ_FASTCALL lj_gc_step(lua_State *L)
do {
lim -= (MSize)gc_onestep(L);
if (g->gc.state == GCSpause) {
lua_assert(g->gc.total >= g->gc.estimate);
g->gc.threshold = (g->gc.estimate/100) * g->gc.pause;
g->vmstate = ostate;
return 1; /* Finished a GC cycle. */