Improvement of pool allocator.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-08-06 17:03:36 +03:00
parent 5be41b44bb
commit 8f594aebfa
10 changed files with 462 additions and 500 deletions
-5
View File
@@ -38,11 +38,6 @@
*/
#define MEM_POOL_CHUNK_SIZE ((size_t) (CONFIG_MEM_POOL_CHUNK_SIZE))
/**
* Log2 of maximum number of chunks in a pool
*/
#define MEM_POOL_MAX_CHUNKS_NUMBER_LOG (CONFIG_MEM_POOL_MAX_CHUNKS_NUMBER_LOG)
/**
* Logarithm of required alignment for allocated units/blocks
*/