Re: New blog post on the LuaJIT GC64 mode

  • From: Javier Guerra Giraldez <javier@xxxxxxxxxxx>
  • To: LuaJIT <luajit@xxxxxxxxxxxxx>
  • Date: Thu, 18 Jul 2019 08:27:50 +0100

On Thu, 18 Jul 2019 at 01:47, Yichun Zhang <yichun@xxxxxxxxxxxxx> wrote:


Hi folks,

I recently wrote a blog post on LuaJIT's GC64 mode, especially in the
context of OpenResty:

    https://blog.openresty.com/en/luajit-gc64-mode/

it's a very good summary.  I've fouind GC64 to be inmensely more
stable, and hope it becomes the default everywhere.

about the GDB tools, i got most of the TValue inspecting functions
working in my fork;  the biggest problem is getting a usable backtrace
with local variable names.  In most cases i just relied on a simple
dump of the Lua stack.  In fact, after switching to GC64 the amount of
coredumps i had to analyse reduced so much that i didn't get enough
examples (or motivation) to really fix the backtraces.


-- 
Javier

Other related posts: