Introduce GC stress testing mode (-mem_stress_test prefix; for example: debug.linux-mem_stress_test).

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-09-07 20:10:16 +03:00
parent b318de46a6
commit fdf38ab2eb
5 changed files with 20 additions and 3 deletions
+4
View File
@@ -70,6 +70,10 @@ project (JerryCore CXX C ASM)
CONFIG_ECMA_COMPACT_PROFILE_DISABLE_MATH_BUILTIN
CONFIG_ECMA_COMPACT_PROFILE_DISABLE_JSON_BUILTIN)
# Memory management stress-test mode
set(DEFINES_MEM_STRESS_TEST
MEM_GC_BEFORE_EACH_ALLOC)
# Memory statistics
set(DEFINES_MEMORY_STATISTICS MEM_STATS)