jerryscript
jerryscript copied to clipboard
Jerry API for triggering GC.
How about adding void jerry_api_gc (void) API for triggering GC.
No objections, but for me this won't give us any profit it term of memory consumption since GC has pretty smart heuristics for triggering itself.
@egavrin Yes you are right. I suggested this API because It would be helpful for tracing memory usage or profiling.
Related PR (#685) was merged.