summary refs log tree commit diff stats
path: root/lib/genode_cpp/threads.h
diff options
context:
space:
mode:
authorIco Doornekamp <ico@pruts.nl>2020-01-23 14:25:22 +0100
committerAndreas Rumpf <rumpf_a@web.de>2020-01-23 14:25:22 +0100
commitb68eb1cad0dc13d497ae0e620dd2178a6367644c (patch)
tree4456c09a2cf5a964cc1d6cb2cae16dabfa0ff2a8 /lib/genode_cpp/threads.h
parentf500895efe84525c131beadd2e83b30caa6674a3 (diff)
downloadNim-b68eb1cad0dc13d497ae0e620dd2178a6367644c.tar.gz
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
Diffstat (limited to 'lib/genode_cpp/threads.h')
0 files changed, 0 insertions, 0 deletions