More gc-friendly property hashmap allocation.
- New allocator is added that returns null on out of memory, property hasmap create uses this allocator for now. - Property hashmaps of objects are removed durring a high severity gc. Follow up patch is in progress. JerryScript-DCO-1.0-Signed-off-by: István Kádár ikadar@inf.u-szeged.hu
This commit is contained in:
@@ -30,7 +30,7 @@ extern void ecma_gc_init (void);
|
||||
extern void ecma_init_gc_info (ecma_object_t *);
|
||||
extern void ecma_ref_object (ecma_object_t *);
|
||||
extern void ecma_deref_object (ecma_object_t *);
|
||||
extern void ecma_gc_run (void);
|
||||
extern void ecma_gc_run (jmem_free_unused_memory_severity_t);
|
||||
extern void ecma_free_unused_memory (jmem_free_unused_memory_severity_t);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user