diff --git a/runtime/ecma_vm.cpp b/runtime/ecma_vm.cpp index f1b94e6a167131a8a749830ab5d001b8e264c16c..8b7577a997d3cd04e8975d6c2b8c9e0b241dd0c6 100644 --- a/runtime/ecma_vm.cpp +++ b/runtime/ecma_vm.cpp @@ -383,6 +383,8 @@ void EcmaVM::SaveProfileInfo() void EcmaVM::UninitializeThreads() { thread_->NativeCodeEnd(); + thread_->CollectTLABMetrics(); + thread_->ClearTLAB(); thread_->UpdateStatus(ThreadStatus::FINISHED); }