Improvement of pool allocator.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user