summary refs log tree commit diff stats
path: root/lib/system/alloc.nim
Commit message (Collapse)AuthorAgeFilesLines
* more fixes for --cpu:avr [backport] (#12748)Andreas Rumpf2019-11-271-2/+2
|
* new gensym handling (#11985)Andreas Rumpf2019-08-231-6/+6
| | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-2/+2
| | | | --styleCheck:error
* Remove immediate pragma (#11308)Arne Döring2019-05-291-2/+1
| | | | | * remove immediate from tests * remove immediate from the compiler
* right shift is now by default sign preserving (#11322)Arne Döring2019-05-291-4/+4
| | | | | | | | | | | * right shift is now by default sign preserving * fix hashString and semfold * enable arithmetic shift right globally for CI * fix typo * remove xxx * use oldShiftRight as flag * apply feedback * add changelog entry
* --newruntime: progressAndreas Rumpf2019-03-141-4/+0
|
* allocators: introduce --define:nimMinHeapPages for tuning mmap calls (omg ↵Andreas Rumpf2019-01-191-3/+3
| | | | they are slow on OSX...)
* Try to let memTracker compile (#8502)Christopher Dunn2018-08-051-5/+5
|
* fixed #7894 (#8496)jcosborn2018-08-011-1/+2
| | | make system tests run properly
* Implements alloc/dealloc counters for better leak debugging. (#8384)Dominik Picheta2018-07-211-0/+13
|
* Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-131-2/+2
|
* fix allocator corruption for large sizes (#7338)jcosborn2018-03-171-36/+45
| | | | | | * fix allocator corruption for large sizes * allow large chunks to coalesce and added test case * use correct constants in MaxBigChunkSize
* make the allocator take a special path for allocations bigger than 2GB; ↵Araq2018-02-271-2/+26
| | | | fixes #7120
* fixes the tracking of 'occupied memory'Andreas Rumpf2018-01-301-6/+96
|
* alloc.nim: Make 'logAlloc' produce a toy Nim program for easier memory tracingAndreas Rumpf2018-01-181-2/+2
|
* GC improvements; distinguish between thread local and globals in the marking ↵Araq2018-01-141-4/+4
| | | | step
* allocator: minor fix for deallocOsPagesAndreas Rumpf2017-12-111-0/+1
|
* make the new allocator workAraq2017-12-071-8/+15
|
* make allocator use the TLSF algorithm; work in progressAraq2017-12-071-30/+127
|
* fixes #3558Araq2017-10-161-7/+8
|
* fixes withRegion for --gc:stackAndreas Rumpf2017-06-191-1/+0
|
* memory manager: use less memory; corruption preventionAndreas Rumpf2017-04-021-59/+47
|
* Fixes #4719. (#5585)Eugene Kabanov2017-03-231-0/+3
|
* hotfix: allocator: don't set origSize to 0Araq2017-03-151-2/+2
|
* make memory tracker work without onThreadCreationAraq2017-03-141-4/+13
|
* introduce nimMaxHeap define to fight memory overcommitAndreas Rumpf2017-02-101-0/+5
|
* system.nim: don't use deprecated symbols/constructsAraq2017-02-081-1/+1
|
* critical realloc bugfix; refs #4818Andreas Rumpf2017-02-031-3/+4
|
* allocator: fixes regression: get alignment right for small objectsAraq2017-01-311-0/+2
|
* make AVL tree node part of the memory regions; fixes hard to reproduce ↵Araq2017-01-311-15/+15
| | | | channel crashes
* fix the racy allocator properlyAndreas Rumpf2017-01-311-1/+1
|
* added test case; threadex example crashes nowAraq2017-01-301-1/+5
|
* fixes #5301Araq2017-01-301-40/+55
|
* improvements to memtrackingAndreas Rumpf2017-01-261-1/+7
|
* memory allocator hotfix: do not allocate tremendous amounts of memoryAndreas Rumpf2017-01-131-11/+13
|
* disable new alloctor behaviour for emscriptenAndreas Rumpf2016-12-271-4/+5
|
* fixes #4818Araq2016-12-181-2/+22
|
* further memtracking improvementsAndreas Rumpf2016-11-241-0/+6
|
* bugfix: bottom of AVL tree is now threadsafeAndreas Rumpf2016-09-241-2/+2
|
* clean up a few stray c_stdout's in gc debug codeJacek Sieka2016-07-311-3/+3
|
* fix types of ansi_c/sysio to more closely match C ABIJacek Sieka2016-06-051-2/+2
| | | | | also fixes some instances of using C library functions when there are nim alternatives available
* fixes #3184Andreas Rumpf2016-05-221-29/+32
|
* beginnings of --gc:stackAndreas Rumpf2016-03-121-147/+1
|
* further progress on --gc:v2Andreas Rumpf2016-02-171-4/+4
|
* Use ByteAddress instead of deprecated TAddressdef2016-01-241-1/+1
|
* lambda lifting support for iterToProc pluginAraq2015-12-011-1/+4
|
* Merge remote-tracking branch 'nim-lang/devel' into emscripten-supportAndrey Sobolev2015-10-011-4/+7
|\
| * Add option to disable munmap() use in the allocator.Reimer Behrends2015-09-181-4/+7
| | | | | | | | | | | | When compiling with '-d:nimAllocNoUnmap', the allocator will not attempt to return large chunks to the OS. For certain allocation behaviors, this can be a significant speedup.
* | mmap non PageSize aligned supportAndrey Sobolev2015-09-101-1/+48
|/ | | | mmap non PageSize aligned support
* proper distinction between --gc:none and --os:standaloneAraq2015-06-291-9/+24
|