[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua 5.4 calls __gc twice, sometimes
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 24 Apr 2020 16:18:40 -0300
Did you get this message? Thanks again.
-------------------------------------------------------------------
A few questions:
- Are you using the generational mode in the collector?
- Does the bug happen in both modes (generational and incremental)?
- Just to be sure, the 'new_proxy' function is exactly as you
presented (including the __gc method), or have you simplified it
to present here?
Unless I am missing something, commit 1d8920dd7 changed only the
handling of GC parameters. If that is true, then maybe the bug
was already there, but GC parameters changes the chances of it
happening? Can you try your program with different GC parameters
to see what happens?
-------------------------------------------------------------------
-- Roberto
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org