| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Avoid race condition with profiler thread during dispatch table update. | Mike Pall | 2026-05-25 | 1 | -2/+2 |
| | | | | | Reported by artemking4. #1460 | ||||
| * | Fix VM event error handling for finalizers. | Mike Pall | 2026-03-27 | 1 | -2/+4 |
| | | | | | Reported by Sergey Kaplun. #1445 | ||||
| * | Merge branch 'master' into v2.1 | Mike Pall | 2026-01-09 | 1 | -1/+1 |
| |\ | |||||
| | * | Bump copyright date. | Mike Pall | 2026-01-09 | 1 | -1/+1 |
| | | | |||||
| * | | Run VM events and finalizers in separate state. | Mike Pall | 2025-11-10 | 1 | -8/+10 |
| | | | | | | | | | Reported by Sergey Kaplun. #1403 | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2025-01-13 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date. | Mike Pall | 2025-01-13 | 1 | -1/+1 |
| | | | |||||
| * | | FFI: Drop finalizer table rehash after GC cycle. | Mike Pall | 2024-08-19 | 1 | -7/+0 |
| | | | | | | | | | Reported by Sergey Kaplun. #1247 | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2024-08-19 | 1 | -3/+2 |
| |\| | |||||
| | * | Correctly close VM state after early OOM during open. | Mike Pall | 2024-08-19 | 1 | -3/+2 |
| | | | | | | | | | Reported by Assumeru. #1248 | ||||
| * | | FFI: Turn FFI finalizer table into a proper GC root. | Mike Pall | 2024-04-19 | 1 | -24/+17 |
| | | | | | | | | | Reported by Sergey Bronnikov. #1168 | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2024-03-10 | 1 | -0/+3 |
| |\| | |||||
| | * | FFI: Treat cdata finalizer table as a GC root. | Mike Pall | 2024-03-10 | 1 | -0/+3 |
| | | | | | | | | | Thanks to Sergey Bronnikov. #1168 | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2023-08-20 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date. | Mike Pall | 2023-08-20 | 1 | -1/+1 |
| | | | |||||
| * | | Print errors from __gc finalizers instead of rethrowing them. | Mike Pall | 2023-04-16 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | Finalizers are not supposed to throw errors -- this is undefined behavior. Lua 5.1 - 5.3 and (previously) LuaJIT rethrow the error. This randomly breaks some unrelated code that just happens to do an allocation. Bad. Lua 5.4 catches the error and emits a warning instead. But warnings are not enabled by default, so it fails silently. Even worse. LuaJIT (now) catches the error and emits a VM event. The default event handler function prints "ERROR in finalizer: ...". Set a custom handler function with: jit.attach(handler, "errfin") | ||||
| * | | Improve GC estimation for userdata with attached managed memory. | Mike Pall | 2022-07-28 | 1 | -0/+3 |
| | | | | | | | | | | | This works well for string.buffers, but not for userdata or cdata with attached unmanaged memory (malloc/free, mmap/munmap). | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2022-01-15 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date. | Mike Pall | 2022-01-15 | 1 | -1/+1 |
| | | | |||||
| * | | String buffers, part 4a: Add metatable serialization dictionary. | Mike Pall | 2021-08-12 | 1 | -2/+4 |
| | | | | | | | | | Sponsored by fmad.io. | ||||
| * | | String buffers, part 2e: add serialization string dictionary. | Mike Pall | 2021-06-07 | 1 | -2/+3 |
| | | | | | | | | | Sponsored by fmad.io. | ||||
| * | | String buffers, part 2d: basic string buffer methods. | Mike Pall | 2021-06-01 | 1 | -0/+6 |
| | | | | | | | | | Sponsored by fmad.io. | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2021-01-02 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date. | Mike Pall | 2021-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | Redesign and harden string interning. | Mike Pall | 2020-06-23 | 1 | -6/+32 |
| | | | | | | | | | | | Up to 40% faster on hash-intensive benchmarks. With some ideas from Sokolov Yura. | ||||
| * | | Improve assertions. | Mike Pall | 2020-06-15 | 1 | -29/+43 |
| | | | |||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2020-01-20 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date. | Mike Pall | 2020-01-20 | 1 | -1/+1 |
| | | | |||||
| * | | Minor fixes. | Mike Pall | 2020-01-20 | 1 | -0/+1 |
| | | | |||||
| * | | Fix interaction between profiler hooks and finalizers. | Mike Pall | 2019-12-08 | 1 | -0/+2 |
| | | | | | | | | | Thanks to Julien Desgats. | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2017-03-08 | 1 | -5/+12 |
| |\| | |||||
| | * | Remove internal __mode = "K" and replace with safe check. | Mike Pall | 2017-03-08 | 1 | -5/+12 |
| | | | |||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2017-01-17 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date to 2017. | Mike Pall | 2017-01-17 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2016-10-13 | 1 | -1/+1 |
| |\| | |||||
| | * | Fix GC step size calculation. | Mike Pall | 2016-10-13 | 1 | -1/+1 |
| | | | | | | | | | Thanks to Igor Ehrlich. | ||||
| * | | Embed 64 bit constants directly in the IR, using two slots. | Mike Pall | 2016-05-23 | 1 | -0/+2 |
| | | | | | | | | | Contributed by Peter Cawley. | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2016-03-03 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date to 2016. | Mike Pall | 2016-03-03 | 1 | -1/+1 |
| | | | |||||
| * | | Re-enable trace stitching. | Mike Pall | 2015-08-29 | 1 | -1/+1 |
| | | | | | | | | | Thanks to Vyacheslav Egorov. | ||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2015-01-06 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date to 2015. | Mike Pall | 2015-01-05 | 1 | -1/+1 |
| | | | |||||
| * | | Add LJ_FR2 mode: Two-slot frame info. | Mike Pall | 2015-01-03 | 1 | -8/+9 |
| | | | |||||
| * | | Cleanup of memory vs. GC sizes. No functional changes. | Mike Pall | 2014-12-20 | 1 | -12/+12 |
| | | | |||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2014-04-22 | 1 | -2/+2 |
| |\| | |||||
| | * | Prevent GC estimate miscalculation due to buffer growth. | Mike Pall | 2014-04-22 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2014-01-16 | 1 | -1/+1 |
| |\| | |||||
| | * | Bump copyright date to 2014. | Mike Pall | 2014-01-16 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into v2.1 | Mike Pall | 2013-11-22 | 1 | -1/+2 |
| |\| | |||||
| | * | Follow-up fix for GC step threshold fix. | Mike Pall | 2013-11-22 | 1 | -1/+2 |
| | | | |||||
