summary refs log tree commit diff stats
path: root/lib/system/gc_regions.nim
Commit message (Collapse)AuthorAgeFilesLines
* forward type alignment information to seqs (#12430)Arne Döring2020-04-191-2/+3
|
* Deprecate PHP (#13838)Juan Carlos2020-04-021-16/+1
|
* catchable defects (#13626)Andreas Rumpf2020-03-121-3/+4
| | | | | | | | | | * allow defects to be caught even for --exceptions:goto (WIP) * implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180 * new implementation for integer overflow checking * produce a warning if a user-defined exception type inherits from Exception directly * applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic' * fixes #13627 * don't inherit from Exception directly
* Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses ↵Ico Doornekamp2020-01-231-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | allocShared0. (#13190) * Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use allocShared0 by default. * Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc. * Removed debug printfs * Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc * More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that * Introduced realloc0 and reallocShared0, these procs are now used by strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to drop the extra header with allocation length. * Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field * Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats * *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs
* fix #12597 (#12604)Arne Döring2019-11-071-4/+4
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* gc: destructors is beginning to work (#10483)Andreas Rumpf2019-01-291-4/+16
| | | | | | | | | | | | | | | | * kochdocs.nim: code cleanup * docgen: nicer indentation * parser.nim: code cleanup * fixes #10458 * make tests green again * make =destroy mixins * gc:destructors: produced C code is almost working * --gc:destructors simple program compiles (but leaks memory) * gc:destructors make examples compile in C++ mode * destructors: string implementation bugfixes * strs.nim: minor code cleanup * destructors: builtin seqs are beginning to work * remove debugging helpers
* gc:regions: undo the regression introducing changesAraq2019-01-251-2/+2
|
* allocators: introduce --define:nimMinHeapPages for tuning mmap calls (omg ↵Andreas Rumpf2019-01-191-3/+26
| | | | they are slow on OSX...)
* Remove dead code (#9777)Jacek Sieka2018-11-261-2/+2
| | | | | | | | | * gc/gc2: remove unused ref counting stuff * also removes some false threading support - hasSharedHeap is always false in gc/gc2 * gc: remove some threading cruft * remove asgnRefNoCycle * compiler: remove TLoc.dup (unused)
* Expose GC_setStackBottom (#7885)Yuriy Glukhov2018-06-041-1/+1
|
* hotfix for --gc:regionsAndreas Rumpf2018-05-281-0/+3
|
* make memory regions robust; disable free lists for nowAndreas Rumpf2018-05-271-28/+32
|
* add missing compilerProcs for memory regionsAndreas Rumpf2018-05-251-0/+3
|
* fixes channels for --gc:regionsAndreas Rumpf2018-05-251-3/+8
|
* memory regions seem to work nowAraq2017-08-131-18/+32
|
* WIP: --gc:regions instead of --gc:stackAraq2017-08-131-0/+378