Stale doc file. Fix hashtag links. Trace some GC stuff and try malloc_trim, whynot.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4166 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-02-03 14:01:05 +00:00
parent 6d6c41bffa
commit b2fbe9dfac
3 changed files with 4 additions and 18 deletions

View File

@ -1328,7 +1328,10 @@ static void _tf_task_promise_rejection_tracker(JSContext* context, JSValueConst
static void _tf_task_gc_timer(uv_timer_t* timer)
{
tf_task_t* task = timer->data;
tf_trace_begin(task->_trace, "JS_RunGC");
JS_RunGC(task->_runtime);
tf_trace_end(task->_trace);
malloc_trim(0);
}
static void _tf_task_trace_timer(uv_timer_t* timer)