Optimize LCache operation.
The cache stores only real properties now, because storing NULLs has little benefit according to tests. Since only real properties are stored now, there is no need to create real references to objects and property names, which reduces the keeping of dead objects after garbage collection. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -51,7 +51,6 @@ ecma_finalize (void)
|
||||
jmem_unregister_a_try_give_memory_back_callback (ecma_try_to_give_back_some_memory);
|
||||
|
||||
ecma_finalize_environment ();
|
||||
ecma_lcache_invalidate_all ();
|
||||
ecma_finalize_builtins ();
|
||||
ecma_gc_run ();
|
||||
} /* ecma_finalize */
|
||||
|
||||
Reference in New Issue
Block a user