mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Remove bogus assertion for GC estimate vs. threshold.
This commit is contained in:
parent
8c32b38ca3
commit
96cc99bd6a
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user