diff options
author | Mike Pall <mike> | 2011-06-09 01:34:10 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-09 01:34:10 +0200 |
commit | 96cc99bd6a3f3316202f3d943d82500d8293577a (patch) | |
tree | 86a1d6e05ef2ae346e58cd1c212fe8cefb837c56 /src/lj_gc.c | |
parent | 8c32b38ca3d522d6c90249495231a331aafca7e2 (diff) | |
download | luajit-96cc99bd6a3f3316202f3d943d82500d8293577a.tar.gz luajit-96cc99bd6a3f3316202f3d943d82500d8293577a.tar.bz2 luajit-96cc99bd6a3f3316202f3d943d82500d8293577a.zip |
Remove bogus assertion for GC estimate vs. threshold.
Diffstat (limited to '')
-rw-r--r-- | src/lj_gc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c index 37d42467..b5614ea2 100644 --- a/src/lj_gc.c +++ b/src/lj_gc.c | |||
@@ -674,7 +674,6 @@ int LJ_FASTCALL lj_gc_step(lua_State *L) | |||
674 | do { | 674 | do { |
675 | lim -= (MSize)gc_onestep(L); | 675 | lim -= (MSize)gc_onestep(L); |
676 | if (g->gc.state == GCSpause) { | 676 | if (g->gc.state == GCSpause) { |
677 | lua_assert(g->gc.total >= g->gc.estimate); | ||
678 | g->gc.threshold = (g->gc.estimate/100) * g->gc.pause; | 677 | g->gc.threshold = (g->gc.estimate/100) * g->gc.pause; |
679 | g->vmstate = ostate; | 678 | g->vmstate = ostate; |
680 | return 1; /* Finished a GC cycle. */ | 679 | return 1; /* Finished a GC cycle. */ |