We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecma_gc_objects_p
gc_next_cp
jerry_gc
jerry_cleanup
jmem_heap_gc_and_alloc_block
jmem_free_unused_memory_callback
ecma_gc_run
The text was updated successfully, but these errors were encountered:
No branches or pull requests
总结
说明
ecma_gc_objects_p
单向链表,所有被创建的对象都会登记到链表中,链表的连接通过gc_next_cp
指针连接到一起会触发gc的情况
jerry_gc
单纯gc,一个jerry_cleanup
所有内存回收jmem_heap_gc_and_alloc_block
函数分配内存的时候,都会判断所需内存是否超出限制,如果超出限制则会执行jmem_free_unused_memory_callback
调用ecma_gc_run
遍历ecma_gc_objects_p
链表来回收内存。The text was updated successfully, but these errors were encountered: