Files
Nim/lib/system
Ico Doornekamp b68eb1cad0 Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses 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
2020-01-23 14:25:22 +01:00
..
2019-12-13 12:12:04 +00:00
2019-12-24 17:33:27 +01:00
2019-08-15 15:55:48 +02:00
2019-12-17 17:37:50 +01:00
2020-01-15 14:42:49 +01:00
2019-09-27 07:02:54 +02:00
2019-09-16 23:54:31 +02:00
2019-09-16 23:54:31 +02:00
2020-01-23 13:45:31 +01:00
2020-01-04 19:33:49 +01:00
2019-07-05 01:42:17 +02:00
2019-10-22 17:59:12 -07:00
2020-01-10 23:17:33 +01:00
2020-01-05 09:42:44 +01:00
2020-01-15 14:42:49 +01:00
2018-11-16 13:27:56 +01:00