Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | contributing docs: symbols need package prefix; changed allocStats to ↵ | Timothee Cour | 2020-01-25 | 1 | -1/+1 |
| | | | | nimAllocStats (#13247) | ||||
* | Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses ↵ | Ico Doornekamp | 2020-01-23 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | ARC: cycle detector (#12823) | Andreas Rumpf | 2019-12-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish | ||||
* | some progress on bug #12443 | Andreas Rumpf | 2019-10-27 | 1 | -0/+16 |
| | |||||
* | closes #11533 | Andreas Rumpf | 2019-06-21 | 1 | -0/+18 |
| | |||||
* | [other] newruntime: add a simple closure iterator test | Araq | 2019-06-20 | 1 | -1/+9 |
| | |||||
* | newruntime: added yet another test | Andreas Rumpf | 2019-06-20 | 1 | -0/+22 |