Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH] Fix for luajit GC issue.
@ 2019-03-15  7:16 Kirill Yukhin
  2019-03-15 14:05 ` [tarantool-patches] " Kirill Yukhin
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill Yukhin @ 2019-03-15  7:16 UTC (permalink / raw)
  To: tarantool-patches; +Cc: Kirill Yukhin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-15 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-15  7:16 [tarantool-patches] [PATCH] Fix for luajit GC issue Kirill Yukhin
2019-03-15 14:05 ` [tarantool-patches] " Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox