Simplify severity mechanism in mem allocator.
Related issue: #63 JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély [email protected]
This commit is contained in:
1 parent
8af87206c9
commit
eaca37c4c9
6 files changed
+9
-24
No files matched your search
@@ -103,7 +103,7 @@ interp_mem_get_stats (mem_heap_stats_t *out_heap_stats_p,
|
||||
}
|
||||
|
||||
/* Requesting to free as much memory as we currently can */
|
||||
ecma_try_to_give_back_some_memory (MEM_TRY_GIVE_MEMORY_BACK_SEVERITY_CRITICAL);
|
||||
ecma_try_to_give_back_some_memory (MEM_TRY_GIVE_MEMORY_BACK_SEVERITY_HIGH);
|
||||
|
||||
if (reset_peak_before)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user