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
-10
View File
@@ -26,11 +26,6 @@
*/
#define CONFIG_MEM_STACK_LIMIT (4096)
/**
* Log2 of maximum number of chunks in a pool
*/
#define CONFIG_MEM_POOL_MAX_CHUNKS_NUMBER_LOG (8)
/**
* Size of pool chunk
*
@@ -38,11 +33,6 @@
*/
#define CONFIG_MEM_POOL_CHUNK_SIZE (8)
/**
* Minimum number of chunks in a pool allocated by pools' manager.
*/
#define CONFIG_MEM_LEAST_CHUNK_NUMBER_IN_POOL (32)
/**
* Size of heap chunk
*/