We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e687fa commit c82caa7Copy full SHA for c82caa7
jerry-core/ecma/base/ecma-gc.c
@@ -242,6 +242,9 @@ ecma_gc_init (void)
242
{
243
ecma_gc_objects_lists[ECMA_GC_COLOR_WHITE_GRAY] = NULL;
244
ecma_gc_objects_lists[ECMA_GC_COLOR_BLACK] = NULL;
245
+ ecma_gc_visited_flip_flag = false;
246
+ ecma_gc_objects_number = 0;
247
+ ecma_gc_new_objects_since_last_gc = 0;
248
} /* ecma_gc_init */
249
250
/**
jerry-core/ecma/base/ecma-init-finalize.c
@@ -34,6 +34,7 @@
34
void
35
ecma_init (void)
36
37
+ ecma_gc_init ();
38
ecma_init_builtins ();
39
ecma_lcache_init ();
40
ecma_init_environment ();
0 commit comments