Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | FFI: Rehash finalizer table after GC cycle, if needed. | Mike Pall | 2013-10-14 | 1 | -0/+7 | |
| | | ||||||
* | | Save currently executing lua_State in g->cur_L. | Mike Pall | 2013-08-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | 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 Pall | 2013-08-26 | 1 | -4/+4 | |
| | | ||||||
* | | Move buffer shrinking to atomic GC phase. | Mike Pall | 2013-04-21 | 1 | -9/+4 | |
| | | ||||||
* | | String buffer refactoring, part 1. | Mike Pall | 2013-02-27 | 1 | -2/+2 | |
|/ | | | | | Move string buffer handling to lj_buf.*. Use common buffer resizing function. | |||||
* | Bump copyright date to 2013. | Mike Pall | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Move a GC macro. | Mike Pall | 2012-10-02 | 1 | -4/+3 | |
| | ||||||
* | Avoid potential store-forwarding stalls in GC marking. | Mike Pall | 2012-06-09 | 1 | -9/+11 | |
| | ||||||
* | Bump copyright date to 2012. | Mike Pall | 2012-01-23 | 1 | -1/+1 | |
| | ||||||
* | Add support for bytecode loading/saving. | Mike Pall | 2011-06-13 | 1 | -1/+1 | |
| | ||||||
* | Remove bogus assertion for GC estimate vs. threshold. | Mike Pall | 2011-06-09 | 1 | -1/+0 | |
| | ||||||
* | Flatten and compress in-memory debug info (saves ~70%). | Mike Pall | 2011-06-09 | 1 | -4/+0 | |
| | ||||||
* | FFI: Fix __gc for VLA/VLS cdata objects. | Mike Pall | 2011-05-23 | 1 | -4/+4 | |
| | ||||||
* | FFI: Fix cdata finalization. | Mike Pall | 2011-04-13 | 1 | -4/+6 | |
| | ||||||
* | Inline lj_gc_barrierback(). | Mike Pall | 2011-04-10 | 1 | -12/+0 | |
| | ||||||
* | FFI: Fix marking of ffi.gc() finalizer table. | Mike Pall | 2011-03-17 | 1 | -1/+1 | |
| | ||||||
* | Get rid of the remaining silly cast macros from Lua. | Mike Pall | 2011-03-10 | 1 | -7/+7 | |
| | ||||||
* | FFI: Add ffi.gc() function for finalization of cdata objects. | Mike Pall | 2011-02-28 | 1 | -28/+75 | |
| | ||||||
* | Bump copyright date to 2011. | Mike Pall | 2011-01-09 | 1 | -1/+1 | |
| | ||||||
* | Turn lj_mem_newgco() into a fastcall. | Mike Pall | 2010-12-10 | 1 | -1/+1 | |
| | ||||||
* | FFI: Add C data handling and C type conversions. | Mike Pall | 2010-12-05 | 1 | -1/+8 | |
| | ||||||
* | FFI: Don't propagate cdata objects. | Mike Pall | 2010-11-26 | 1 | -1/+1 | |
| | ||||||
* | FFI: Add cdata object type. | Mike Pall | 2010-11-26 | 1 | -0/+1 | |
| | ||||||
* | Don't traverse inactive GCtrace objects. | Mike Pall | 2010-09-15 | 1 | -2/+2 | |
| | ||||||
* | Optimize BC_VARG: use RC for numparams. | Mike Pall | 2010-09-10 | 1 | -1/+1 | |
| | ||||||
* | Turn some lua_State fields into 32 bit pointers. | Mike Pall | 2010-09-09 | 1 | -6/+6 | |
| | | | | lua_State now fits into one cache line on x64. | |||||
* | Switch to fast string hash. | Mike Pall | 2010-07-21 | 1 | -0/+1 | |
| | ||||||
* | Make metamethod names proper GC roots. | Mike Pall | 2010-04-25 | 1 | -1/+1 | |
| | ||||||
* | Simplify management of current trace. Drop lazy save. | Mike Pall | 2010-04-25 | 1 | -12/+11 | |
| | ||||||
* | Turn traces into true GC objects (GCtrace). | Mike Pall | 2010-04-25 | 1 | -23/+45 | |
| | ||||||
* | No longer let the GC replace dead keys with the LJ_TDEADKEY tag. | Mike Pall | 2010-04-21 | 1 | -7/+1 | |
| | | | | | | | | Important: this changes the semantics of the write barrier! Carefully read the big comment block in lj_obj.h This helps HREFK key slot specialization and allows safely hoisting HREF/HREFK across GC steps, too (fix for a barely reproducible bug). Dead keys are only removed during a table resize (as before). | |||||
* | Simplify GC step calls from on-trace code. | Mike Pall | 2010-04-19 | 1 | -1/+3 | |
| | ||||||
* | Replace on-trace GC frame syncing with interpreter exit. | Mike Pall | 2010-04-19 | 1 | -30/+27 | |
| | | | | | | | Need to sync GC objects to stack only during atomic GC phase. Need to setup a proper frame structure only for calling finalizers. Force an exit to the interpreter and let it handle the uncommon cases. Finally solves the "NYI: gcstep sync with frames" issue. | |||||
* | Reorder various structs to reduce padding (thanks to /usr/bin/pahole). | Mike Pall | 2010-03-15 | 1 | -4/+4 | |
| | ||||||
* | Fix error message generation for OOM error. | Mike Pall | 2010-02-28 | 1 | -2/+2 | |
| | ||||||
* | Conditionally compile functions that are unused with JIT disabled. | Mike Pall | 2010-02-28 | 1 | -0/+2 | |
| | ||||||
* | Switch to pre-initialized stacks. Drop frame clearing in interpreter. | Mike Pall | 2010-02-11 | 1 | -21/+12 | |
| | ||||||
* | Redesign of prototype generation, part 5: colocation of protoype arrays. | Mike Pall | 2010-02-08 | 1 | -9/+3 | |
| | ||||||
* | Redesign of prototype generation, part 4: late creation of prototype. | Mike Pall | 2010-02-08 | 1 | -2/+1 | |
| | ||||||
* | Redesign of prototype generation, part 1: varinfo and uvname. | Mike Pall | 2010-02-08 | 1 | -4/+2 | |
| | | | | | Use a growable, per-chunk variable stack. Collect varinfo/uvname for prototype at the end. | |||||
* | 32/64 bit memory ref cleanup, part 4: GCproto ->varinfo. | Mike Pall | 2010-02-05 | 1 | -2/+2 | |
| | ||||||
* | 32/64 bit memory ref cleanup, part 3: GCproto ->lineinfo. | Mike Pall | 2010-02-05 | 1 | -1/+1 | |
| | ||||||
* | 32/64 bit memory ref cleanup, part 2: GCproto ->uvname and ->chunkname. | Mike Pall | 2010-02-05 | 1 | -5/+5 | |
| | ||||||
* | 32/64 bit memory ref cleanup, part 1: GCproto ->bc and ->k. | Mike Pall | 2010-02-05 | 1 | -1/+1 | |
| | ||||||
* | Add some sanity checks for allocator in 64 bit mode. | Mike Pall | 2010-01-18 | 1 | -0/+2 | |
| | ||||||
* | Avoid int16_t widening for pt->uv elements. | Mike Pall | 2010-01-09 | 1 | -1/+1 | |
| | ||||||
* | Fix 32/64 bit portability issue with upval->v. | Mike Pall | 2010-01-09 | 1 | -6/+6 | |
| | ||||||
* | Bump all copyright dates to 2010. | Mike Pall | 2010-01-09 | 1 | -1/+1 | |
| | ||||||
* | Fix alloc/free sizes of internal GCRef arrays. | Mike Pall | 2009-12-29 | 1 | -1/+1 | |
| | ||||||
* | Use fastcall for remaining 1-arg/2-arg calls from interpreter. | Mike Pall | 2009-12-27 | 1 | -1/+1 | |
| | | | | Simplifies conversion to x64 calling conventions. |