aboutsummaryrefslogtreecommitdiff
path: root/src/lj_state.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v2.1Mike Pall2025-01-131-1/+1
|\
| * Bump copyright date.Mike Pall2025-01-131-1/+1
| |
* | FFI: Turn FFI finalizer table into a proper GC root.Mike Pall2024-04-191-0/+3
| | | | | | | | Reported by Sergey Bronnikov. #1168
* | Merge branch 'master' into v2.1Mike Pall2024-02-041-18/+40
|\|
| * Rework stack overflow handling.Mike Pall2024-02-041-18/+36
| | | | | | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1152
* | Check for upvalue state transition in IR_UREFO.Mike Pall2023-11-051-2/+5
| | | | | | | | Thanks to Peter Cawley. #1085
* | Merge branch 'master' into v2.1Mike Pall2023-09-211-1/+1
|\|
| * Follow-up fix for stack overflow handling cleanup.Mike Pall2023-09-211-1/+1
| |
* | Handle OOM error on stack resize in coroutine.resume and lua_checkstack.Mike Pall2023-09-211-0/+12
| | | | | | | | Thanks to Peter Cawley. #1066
* | Merge branch 'master' into v2.1Mike Pall2023-09-211-4/+11
|\|
| * Cleanup stack overflow handling.Mike Pall2023-09-211-4/+11
| | | | | | | | Reported by Peter Cawley. #962
* | Merge branch 'master' into v2.1Mike Pall2023-08-201-1/+1
|\|
| * Bump copyright date.Mike Pall2023-08-201-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2023-02-211-1/+1
|\|
| * Improve error reporting on stack overflow.Mike Pall2023-02-211-1/+1
| | | | | | | | Thanks to Nicolas Lebedenco.
* | Merge branch 'master' into v2.1Mike Pall2022-01-151-1/+1
|\|
| * Bump copyright date.Mike Pall2022-01-151-1/+1
| |
* | Handle on-trace OOM errors from helper functions.Mike Pall2021-03-231-0/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2021-01-021-1/+1
|\|
| * Bump copyright date.Mike Pall2021-01-021-1/+1
| |
* | Add support for full-range 64 bit lightuserdata.Mike Pall2020-09-301-0/+6
| |
* | Redesign and harden string interning.Mike Pall2020-06-231-4/+4
| | | | | | | | | | Up to 40% faster on hash-intensive benchmarks. With some ideas from Sokolov Yura.
* | Use a securely seeded global PRNG for the VM.Mike Pall2020-06-151-7/+31
| | | | | | | | It's not 2005 anymore.
* | Improve assertions.Mike Pall2020-06-151-7/+11
| |
* | Merge branch 'master' into v2.1Mike Pall2020-01-201-1/+1
|\|
| * Bump copyright date.Mike Pall2020-01-201-1/+1
| |
* | Refactor with LUA_OK.Mike Pall2017-04-071-4/+4
| | | | | | | | Contributed by François Perrad.
* | Merge branch 'master' into v2.1Mike Pall2017-01-171-1/+1
|\|
| * Bump copyright date to 2017.Mike Pall2017-01-171-1/+1
| |
* | LJ_GC64: Allow optional use of the system memory allocator.Mike Pall2016-06-031-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2016-03-031-1/+1
|\|
| * Bump copyright date to 2016.Mike Pall2016-03-031-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2015-01-061-1/+1
|\|
| * Bump copyright date to 2015.Mike Pall2015-01-051-1/+1
| |
* | Add LJ_GC64 mode: 64 bit GC object references.Mike Pall2015-01-031-0/+2
| | | | | | | | Actually NaN tagging with 47 bit pointers and 13+4 bit tags.
* | Add LJ_FR2 mode: Two-slot frame info.Mike Pall2015-01-031-3/+5
| |
* | Cleanup of memory vs. GC sizes. No functional changes.Mike Pall2014-12-201-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2014-04-221-1/+1
|\|
| * x64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND.Mike Pall2014-04-211-1/+1
| | | | | | | | | | | | Valgrind 3.9 killed MAP_32BIT support. Ugh. So now we have to rely on undocumented behavior where Valgrind always allocates from the bottom of memory. Alas, such a binary won't run properly without Valgrind.
* | Merge branch 'master' into v2.1Mike Pall2014-01-161-1/+1
|\|
| * Bump copyright date to 2014.Mike Pall2014-01-161-1/+1
| |
* | Add low-overhead profiler. Part 1: interpreter, low-level C API.Mike Pall2013-09-021-1/+5
| |
* | Save currently executing lua_State in g->cur_L.Mike Pall2013-08-301-2/+5
| | | | | | | | | | | | This is only a good approximation due to deficiencies in the design of the Lua/C API. It indicates _some_ valid state that is/was executing. Also reorder L->cframe stores to achieve a synchronously consistent state.
* | Use g->jit_base for on/off-trace detection.Mike Pall2013-08-261-4/+5
| |
* | String buffer refactoring, part 4.Mike Pall2013-02-281-1/+1
| | | | | | | | Add lua_State pointer to SBuf for buffer resizing.
* | String buffer refactoring, part 1.Mike Pall2013-02-271-2/+3
|/ | | | | Move string buffer handling to lj_buf.*. Use common buffer resizing function.
* Bump copyright date to 2013.Mike Pall2013-02-111-1/+1
|
* Fix userdata __gc separations at state close.Mike Pall2012-06-101-2/+2
|
* Limit number of userdata __gc separations at state close.Mike Pall2012-04-111-1/+3
|
* Ensure running __gc of userdata created in __gc at state close.Mike Pall2012-04-111-2/+7
|