Ioannis Koutras
|
186a55c23d
Small fixes to remove warnings. initialize_allocator() could now use sbrk locks.
|
14 jaren geleden |
Ioannis Koutras
|
163ec350c2
Changed values on test.c to check coalescing.
|
14 jaren geleden |
Ioannis Koutras
|
1430f129bc
Proper coalescing support.
|
14 jaren geleden |
Ioannis Koutras
|
4d2caf32fd
Added block functions which are required for navigation on data layout level.
|
14 jaren geleden |
Ioannis Koutras
|
56035243cf
systemallocator should NOT be static
|
14 jaren geleden |
Ioannis Koutras
|
f969d74572
Build the examples with debug symbols.
|
14 jaren geleden |
Ioannis Koutras
|
4a953c90c2
Enable full warnings and C99
|
14 jaren geleden |
Ioannis Koutras
|
17467ce800
coalesce.c should be compiled only when WITH_COALESCING is ON.
|
14 jaren geleden |
Ioannis Koutras
|
873e85f9f1
sys_alloc() has to set headers in case it is called by initialize_allocator(). Modified also custom_malloc() to conform with this.
|
14 jaren geleden |
Ioannis Koutras
|
c89bd95c5a
Get the WITH_COALESCING option from cmake.
|
14 jaren geleden |
Ioannis Koutras
|
1cf9593141
Set coalescing ON for Linux Tests target.
|
14 jaren geleden |
Ioannis Koutras
|
1848841db0
Few functional changes on border_ptr, now it points to the memory block which was allocated last.
|
14 jaren geleden |
Ioannis Koutras
|
eda81eee4e
Added functions to find previous memory blocks in terms of data layout. Initial maptable nodes require now a memory block. Simplified initialize_allocator.
|
14 jaren geleden |
Ioannis Koutras
|
07993f77d6
initialized bool variable is not required on memory space aware allocators, since they are initialized manually.
|
14 jaren geleden |
Ioannis Koutras
|
8d72e4a4ef
Properly include coalesce.h in custom_free when needed.
|
14 jaren geleden |
Ioannis Koutras
|
5e50bf361d
heap.h fully commented.
|
14 jaren geleden |
Ioannis Koutras
|
d085c6f2b5
Enabled quiet Doxygen compilation.
|
14 jaren geleden |
Ioannis Koutras
|
8de91b5f18
Proper support for enabling coalescing.
|
14 jaren geleden |
Ioannis Koutras
|
3c73f54eda
Made a simple case for testing the library in Linux.
|
14 jaren geleden |
Ioannis Koutras
|
aeb421c8e4
Added support for cross compiling on STxP70 platforms.
|
14 jaren geleden |
Ioannis Koutras
|
306175e290
Made documentation and building a shared version of the library optional.
|
14 jaren geleden |
Ioannis Koutras
|
e8a8a94d59
Small merge.
|
14 jaren geleden |
Ioannis Koutras
|
612182cedf
Added support for always coalescing during free.
|
14 jaren geleden |
Ioannis Koutras
|
1547eef1aa
Moved NUM_HEAPS and MIN_FRAG_THRESHOLD to dmm_config.h. NUM_HEAPS has a variable now in CMake, for P2012 it is set to 0.
|
14 jaren geleden |
Ioannis Koutras
|
852832353c
Proper guarding on memory space aware allocators.
|
14 jaren geleden |
Ioannis Koutras
|
06bfbf6e8e
Fixed a wrong call to sbrk while initializing the maptables of a heap on a space aware allocator.
|
14 jaren geleden |
Ioannis Koutras
|
4bc33f55b4
Removed malicious comment tag (some strict compilers were complaining).
|
14 jaren geleden |
Ioannis Koutras
|
28cbf17c97
Build type is set to RelWithDebInfo as default.
|
14 jaren geleden |
Ioannis Koutras
|
2d917785b5
Search for pthreads library when compiling the Larson benchmark.
|
14 jaren geleden |
Ioannis Koutras
|
297d9e8902
Moved initialize_allocator to the header files, added header guard and comments to it.
|
14 jaren geleden |