Dominik Picheta
|
5ea3b4d581
Implements alloc/dealloc counters for better leak debugging. (#8384)
|
6 years ago |
Yuriy Glukhov
|
dfe3f16022
Don't depend on string.h in codegen (#8299)
|
6 years ago |
jcosborn
|
e39f2a9283
fix allocator corruption for large sizes (#7338)
|
6 years ago |
Araq
|
6d4107b783
make the allocator take a special path for allocations bigger than 2GB; fixes #7120
|
6 years ago |
Andreas Rumpf
|
8fdc291936
fixes the tracking of 'occupied memory'
|
7 years ago |
Andreas Rumpf
|
03b7df74a9
alloc.nim: Make 'logAlloc' produce a toy Nim program for easier memory tracing
|
7 years ago |
Araq
|
f71f9f83c2
GC improvements; distinguish between thread local and globals in the marking step
|
7 years ago |
Andreas Rumpf
|
e24a3bd0ab
allocator: minor fix for deallocOsPages
|
7 years ago |
Araq
|
7c9a3161da
make the new allocator work
|
7 years ago |
Araq
|
ede38a70fc
make allocator use the TLSF algorithm; work in progress
|
7 years ago |
Araq
|
4a7266e1c1
fixes #3558
|
7 years ago |
Andreas Rumpf
|
8db37455dd
fixes withRegion for --gc:stack
|
7 years ago |
Andreas Rumpf
|
c785066ee3
memory manager: use less memory; corruption prevention
|
7 years ago |
Eugene Kabanov
|
254fbcc548
Fixes #4719. (#5585)
|
7 years ago |
Araq
|
518696f3a7
hotfix: allocator: don't set origSize to 0
|
7 years ago |
Araq
|
98c7bab8ea
make memory tracker work without onThreadCreation
|
7 years ago |
Andreas Rumpf
|
0bb18d1821
introduce nimMaxHeap define to fight memory overcommit
|
8 years ago |
Araq
|
346ea6d171
system.nim: don't use deprecated symbols/constructs
|
8 years ago |
Andreas Rumpf
|
04c4d3d77f
critical realloc bugfix; refs #4818
|
8 years ago |
Araq
|
b3e55e532b
allocator: fixes regression: get alignment right for small objects
|
8 years ago |
Araq
|
d59dd577f8
make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes
|
8 years ago |
Andreas Rumpf
|
51c764e048
fix the racy allocator properly
|
8 years ago |
Araq
|
79f4b37d3b
added test case; threadex example crashes now
|
8 years ago |
Araq
|
b26e6e3589
fixes #5301
|
8 years ago |
Andreas Rumpf
|
05a3c1b10a
improvements to memtracking
|
8 years ago |
Andreas Rumpf
|
9753782f96
memory allocator hotfix: do not allocate tremendous amounts of memory
|
8 years ago |
Andreas Rumpf
|
847210b799
disable new alloctor behaviour for emscripten
|
8 years ago |
Araq
|
39ca8b8c8e
fixes #4818
|
8 years ago |
Andreas Rumpf
|
249fd5e56b
further memtracking improvements
|
8 years ago |
Andreas Rumpf
|
bc53d2c9de
bugfix: bottom of AVL tree is now threadsafe
|
8 years ago |