aboutsummaryrefslogtreecommitdiff
path: root/src/lj_alloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a securely seeded global PRNG for the VM.Mike Pall2020-06-151-45/+38
| | | | It's not 2005 anymore.
* Cleanup some arch defines and fix builds.Mike Pall2020-06-151-1/+1
|
* Windows: Make actual use of internal allocator optimization.Mike Pall2020-05-051-2/+4
| | | | Thanks to Nicholas Ham.
* Fix memory probing allocator to check for valid end address, too.Mike Pall2018-09-131-1/+2
|
* Windows: Add UWP support, part 1.Mike Pall2018-06-051-3/+3
| | | | Contributed by Ben Pye.
* FreeBSD/x64: Avoid changing resource limits, if not needed.Mike Pall2017-06-081-1/+1
|
* Use MAP_TRYFIXED for the probing memory allocator, if available.Mike Pall2016-05-231-1/+7
|
* Rewrite memory block allocator.Mike Pall2016-04-181-85/+170
| | | | | | Use a mix of linear probing and pseudo-random probing. Workaround for 1GB MAP_32BIT limit on Linux/x64. Now 2GB with !LJ_GC64. Enforce 128TB LJ_GC64 limit for > 47 bit memory layouts (ARM64).
* Merge branch 'master' into v2.1Mike Pall2016-04-031-1/+1
|\
| * Cygwin: Allow cross-builds to non-Cygwin targets.Mike Pall2016-04-031-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2015-09-201-1/+1
|\|
| * Fix Cygwin support. Note: this is not a supported target.Mike Pall2015-09-201-1/+1
| | | | | | | | Contributed by Yaakov Selkowitz.
* | Add LJ_GC64 mode: 64 bit GC object references.Mike Pall2015-01-031-5/+7
|/ | | | Actually NaN tagging with 47 bit pointers and 13+4 bit tags.
* Fix DragonFly build (unsupported).Mike Pall2014-10-071-3/+3
| | | | Thanks to Robin Hahling, Alex Hornung and Joris Giovannangeli.
* Fix compatibility issues with Illumos.Mike Pall2014-05-281-1/+7
| | | | Thanks to Theo Schlossnagle.
* Add PS4 port.Mike Pall2014-02-261-3/+5
| | | | Thanks to Eddie Edwards.
* Check for MAP_32BIT presence instead of checking for Linux.Mike Pall2013-10-101-1/+1
|
* Fix compilation on NetBSD/x64.Mike Pall2013-07-171-1/+1
| | | | Thanks to Justin Cormack.
* Fix compatibility issues with Illumos.Mike Pall2013-05-251-5/+12
| | | | Thanks to Theo Schlossnagle.
* Fix shrinking of direct mapped block in builtin allocator.Mike Pall2012-08-161-1/+1
|
* Fix compilation on OpenBSD.Mike Pall2012-03-151-2/+2
| | | | Thanks to Laurence Tratt.
* Always use ANSI variants of Windows system functions.Mike Pall2011-09-021-1/+1
|
* FFI: Save errno/GetLastError() around allocations, hooks etc.Mike Pall2011-05-081-5/+47
|
* Cleanup architecture, ABI and OS definitions.Mike Pall2010-11-161-6/+5
|
* Reduce 32GB RLIMIT_DATA on FreeBSD/x64 to allocate low-2GB memory.Mike Pall2010-10-231-9/+20
| | | | Thanks to Tony Finch.
* Allocate 32 bit memory on OSX/x64 with mmap() hinting.Mike Pall2010-03-041-5/+40
| | | | Must set -pagezero_size, otherwise the lower 4GB are blocked.
* Fix comments about 64 bit FreeBSD mmap() behavior.Mike Pall2010-03-021-1/+2
|
* Add compile errors for 64 bit OS without an equivalent of MAP_32BIT.Mike Pall2010-03-021-4/+17
|
* Fix more 64 bit conversion warnings.Mike Pall2010-01-171-2/+2
|
* Allocate 32 bit memory on WIN64 using NtAllocateVirtualMemory.Mike Pall2010-01-171-7/+48
|
* Linux/x64 mremap() does not obey MAP_32BIT, so make it non-moving.Mike Pall2009-12-281-2/+9
|
* Fast forward to sync public repo.Mike Pall2009-12-081-3/+3
| | | | | | | | Compile math.sinh(), math.cosh(), math.tanh() and math.random(). Compile various io.*() functions. Drive the GC forward on string allocations in the parser. Improve KNUM fuse vs. load heuristics. Add abstract C call handling to IR.
* RELEASE LuaJIT-2.0.0-beta1v2.0.0-beta1Mike Pall2009-12-081-0/+1232