aboutsummaryrefslogtreecommitdiff
path: root/src/lj_gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_gc.c')
-rw-r--r--src/lj_gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c
index 0f0ca82e..8147cb55 100644
--- a/src/lj_gc.c
+++ b/src/lj_gc.c
@@ -540,6 +540,7 @@ static void atomic(global_State *g, lua_State *L)
540 540
541 /* Prepare for sweep phase. */ 541 /* Prepare for sweep phase. */
542 g->gc.currentwhite = cast_byte(otherwhite(g)); /* Flip current white. */ 542 g->gc.currentwhite = cast_byte(otherwhite(g)); /* Flip current white. */
543 g->strempty.marked = g->gc.currentwhite;
543 setmref(g->gc.sweep, &g->gc.root); 544 setmref(g->gc.sweep, &g->gc.root);
544 g->gc.estimate = g->gc.total - (MSize)udsize; /* Initial estimate. */ 545 g->gc.estimate = g->gc.total - (MSize)udsize; /* Initial estimate. */
545} 546}