asan hangs on the backtrace

Turn off caching

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB09HH

Signed-off-by: rentangyu <rentangyu@huawei.com>
This commit is contained in:
rentangyu 2024-10-31 15:49:02 +08:00
parent 082cbafacf
commit 37c2060867

View File

@ -108,7 +108,7 @@ uintptr_t EcmaHandleScope::NewHandle(JSThread *thread, JSTaggedType value)
LOG_ECMA(INFO) << "New handle in scope count:" << context->handleScopeCount_
<< ", time:" << totalSpentTime << "ms";
std::ostringstream stack;
Backtrace(stack, true);
Backtrace(stack);
LOG_ECMA(INFO) << stack.str();
}
}
@ -146,7 +146,7 @@ uintptr_t EcmaHandleScope::NewPrimitiveHandle(JSThread *thread, JSTaggedType val
LOG_ECMA(INFO) << "New primitiveHandle in scope count:" << context->primitiveScopeCount_
<< ", time:" << totalSpentTime << "ms";
std::ostringstream stack;
Backtrace(stack, true);
Backtrace(stack);
LOG_ECMA(INFO) << stack.str();
}
}