From 71cbaa418369ec28531f2625694c02779c6bad8c Mon Sep 17 00:00:00 2001 From: Konstantin Grebenschikov Date: Sat, 27 Apr 2024 17:11:39 +0800 Subject: [PATCH] Make the string table mutex non-recursive Issue: #I9K4WE The recursive mutex is much slower that the regular mutex, so replaced it with the regular version until we really need its features. Signed-off-by: Konstantin Grebenschikov Change-Id: Ifc44d1da6370f69bfdf9ef1b65bd4ed89a004fd8 --- ecmascript/ecma_string_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecmascript/ecma_string_table.h b/ecmascript/ecma_string_table.h index 96637ae28..de1551882 100644 --- a/ecmascript/ecma_string_table.h +++ b/ecmascript/ecma_string_table.h @@ -82,7 +82,7 @@ private: } CUnorderedMultiMap table_; - RecursiveMutex mutex_; + Mutex mutex_; friend class SnapshotProcessor; friend class BaseDeserializer; }; -- Gitee