Re: Non-catchable OOM in hot paths

  • From: Szabó Antal <szabo.antal.92@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 3 Feb 2021 16:47:00 +0100

Hi,

I think the "new garbage collector" is referring to
http://wiki.luajit.org/New-Garbage-Collector

Note that it's a completely new GC design, that's a separate thing
from GC64 mode, and, according to that page "to be introduced with
LuaJIT 3.0".

I suspect the "This issue will be fixed" part was removed because Mike
is no longer actively working on LuaJIT, and as a result LuaJIT 3.0,
and the new GC, might never happen.

Cheers,
Antal

On Wed, Feb 3, 2021 at 1:43 PM Egor Skriptunoff
<egor.skriptunoff@xxxxxxxxx> wrote:


Previously, in 2020, the "Current status" page of LuaJIT 2.1 documentation 
(doc/status.html) contained the following text:

Currently some out-of-memory errors from on-trace code are not handled 
correctly. The error may fall through an on-trace pcall or it may be passed 
on to the function set with lua_atpanic on x64. This issue will be fixed 
with the new garbage collector.


It seems LuaJIT does already have a new stable GC64.
Is the problem already solved?

It is strange that as of now the "Current status" page in LuaJIT 2.1 docs has 
the OOM-errors paragraph still present, but its last sentence "This issue 
will be fixed" has disappeared.
Was fixing removed from the future plans?
Or is it just a mistake in the documentation?

Other related posts: