Changing pool's chunk size to 8 bytes. Adding configurable value for minimum chunks in a pool allocated by pools' manager: CONFIG_MEM_LEAST_CHUNK_NUMBER_IN_POOL = 32.
This commit is contained in:
+6
-1
@@ -36,7 +36,12 @@
|
||||
*
|
||||
* Should not be less than size of any of ECMA Object Model's data types.
|
||||
*/
|
||||
#define CONFIG_MEM_POOL_CHUNK_SIZE 16
|
||||
#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