[tarantool-patches] [PATCH] Fix for luajit GC issue.
Kirill Yukhin
kyukhin at tarantool.org
Fri Mar 15 10:16:42 MSK 2019
This commit is actually a cherry-pick of
https://github.com/openresty/luajit2/commit/64b91557356e18dddc2d3681abef632642bf2527
Closes #3725
Closes #3751
Closes #3840
Closes #3916
---
https://github.com/tarantool/luajit/commits/kyukhin/fix-gc
https://github.com/tarantool/tarantool/issues/3725
https://github.com/tarantool/tarantool/issues/3840
https://github.com/tarantool/tarantool/issues/3751
https://github.com/tarantool/tarantool/issues/3916
src/lj_clib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lj_clib.c b/src/lj_clib.c
index 6142659..c06c091 100644
--- a/src/lj_clib.c
+++ b/src/lj_clib.c
@@ -372,6 +372,7 @@ TValue *lj_clib_index(lua_State *L, CLibrary *cl, GCstr *name)
cd = lj_cdata_new(cts, id, CTSIZE_PTR);
*(void **)cdataptr(cd) = p;
setcdataV(L, tv, cd);
+ lj_gc_anybarriert(L, cl->cache);
}
}
return tv;
--
2.19.1
More information about the Tarantool-patches
mailing list