Changing garbage collector to non-generational.

This commit is contained in:
Ruben Ayrapetyan
2015-02-18 20:16:35 +03:00
parent d1f6760f01
commit a751ab4f9d
8 changed files with 59 additions and 352 deletions
+1 -1
View File
@@ -695,7 +695,7 @@ ecma_copy_or_ref_ecma_string (ecma_string_t *string_desc_p) /**< string descript
/* First trying to free unreachable objects that maybe refer to the string */
ecma_lcache_invalidate_all ();
ecma_gc_run ((ecma_gc_gen_t) (ECMA_GC_GEN_COUNT - 1));
ecma_gc_run ();
if (current_refs == string_desc_p->refs)
{