Ioannis Koutras
|
10709ce642
Add some comments on statistic variables
|
13 years ago |
Ioannis Koutras
|
80e4a8b93f
Comments on statistics data types
|
13 years ago |
Ioannis Koutras
|
a0dbd114a8
Examples now work according to the new API (direct malloc and free calls)
|
13 years ago |
Ioannis Koutras
|
8eb08a1ee7
Large update on stats
|
13 years ago |
Ioannis Koutras
|
b3a98182e2
More conservative options for testing Linux versions
|
13 years ago |
Ioannis Koutras
|
fe3a2c709d
Add some comments on sys_alloc()
|
13 years ago |
Ioannis Koutras
|
90d2a437f6
If ptr on a free() call is NULL, no operation is performed.
|
13 years ago |
Ioannis Koutras
|
bc38f43428
No need to check memory allocator initialization while free'ing a pointer
|
13 years ago |
Ioannis Koutras
|
1750131cca
mark_free(): cast 0x1 as unsigned to remove a warning
|
13 years ago |
Ioannis Koutras
|
dfa095c4fd
Make REPLACE_MALLOC directive obsolete, dmmlib now accepts malloc(), free() and realloc() calls directly
|
13 years ago |
Ioannis Koutras
|
0ff643dd91
Align block header to 32 bytes
|
13 years ago |
Ioannis Koutras
|
55e4828076
Fix Larson's benchmark to support memory space aware allocators.
|
13 years ago |
Ioannis Koutras
|
c90a2b1b8f
Enable locks on Linux targets.
|
13 years ago |
Ioannis Koutras
|
aa7cac667b
POSIX mutex for sbrk() should be given to sys_alloc() during allocator's initialization
|
13 years ago |
Ioannis Koutras
|
c31e3b8c4c
Fix: check if next block is free for coalescing three blocks.
|
13 years ago |
Ioannis Koutras
|
983676db07
Support for various list ordering policies
|
13 years ago |
Ioannis Koutras
|
431ed1a549
get_dlnext(): small fix on pointer arithmetic.
|
13 years ago |
Ioannis Koutras
|
96fc3acca3
Test for realloc() cases.
|
13 years ago |
Ioannis Koutras
|
e54f734bd0
Fixed size info and splitting check on realloc() where next free block can be used.
|
13 years ago |
Ioannis Koutras
|
b78d869836
Fixed nasty bug on fixed lists: Empty fixed lists should not return pointers.
|
13 years ago |
Ioannis Koutras
|
5a090e692e
Fixed get_dlnext(), it now points to the data part of a block, not the header.
|
13 years ago |
Ioannis Koutras
|
b25926865f
Make debug builds of examples.
|
13 years ago |
Ioannis Koutras
|
136fab9dc8
custom_memcpy() should copy the blocks after the HEADER_SIZE, wrong call of custom_memcpy().
|
13 years ago |
Ioannis Koutras
|
190fa09c88
Include realloc() in dmmlib.h
|
13 years ago |
Ioannis Koutras
|
2f73309211
WITH_REALLOC is now a macro definition.
|
13 years ago |
Ioannis Koutras
|
5029d1e625
Major rewriting of realloc() in order to be more versatile.
|
13 years ago |
Ioannis Koutras
|
be8f926649
Change Linux CMake target defaults for testing memory-space aware allocators.
|
13 years ago |
Ioannis Koutras
|
540c6caa24
Initialize fixed lists only in the first heap.
|
13 years ago |
Ioannis Koutras
|
78c294d000
Fix: mmap() support was enabled in all cases.
|
13 years ago |
Ioannis Koutras
|
73b89b770f
Enable sbrk() as an option.
|
13 years ago |