summary refs log tree commit diff stats
path: root/tests/destructor/tnewruntime_misc.nim
Commit message (Collapse)AuthorAgeFilesLines
* Remove tracking of environment from osenv.nim v2 (#18575)Timothee Cour2021-07-291-1/+1
| | | | | | | | | | | | | * Remove unnecessary environment tracking * try to fix windows * fix delEnv * make putEnv work on windows even with empty values; improve tests: add tests, add js, vm testing * [skip ci] fix changelog Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com>
* Remove confusing <//> (#17830)flywind2021-04-261-1/+6
|
* fix #14421 items uses lent T (#14447)Timothee Cour2020-05-291-1/+1
| | | | | * fix #14421 items uses lent T for seq + openArray * add -d:nimWorkaround14447 * fix test
* fixes #13457 (#13458)Andreas Rumpf2020-02-211-1/+8
|
* contributing docs: symbols need package prefix; changed allocStats to ↵Timothee Cour2020-01-251-1/+1
| | | | nimAllocStats (#13247)
* Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses ↵Ico Doornekamp2020-01-231-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Rumpf2019-12-171-2/+2
| | | | | | | | | | | | | * 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
* fixes #12827 (#12829) [backport]cooldome2019-12-101-0/+17
|
* fixes #12051Araq2019-09-101-2/+21
|
* sink as lvalueAndrii Riabushenko2019-09-021-0/+13
|
* fixes #11833 (#12018)Andreas Rumpf2019-08-241-0/+8
|
* fixes #11844 (#11935)Andreas Rumpf2019-08-131-1/+1
|
* fixes #10689Araq2019-08-121-0/+17
|
* fixes #11254Araq2019-08-121-0/+6
|
* fixes #11891Andreas Rumpf2019-08-101-0/+6
|
* fixes #11807 (#11900)Andreas Rumpf2019-08-071-0/+50
* fixes #11807 * make tests green again