mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 18:20:04 +00:00
!10068 asan hangs on the backtrace
Merge pull request !10068 from 任堂宇/master
This commit is contained in:
commit
6540e94132
@ -108,7 +108,7 @@ uintptr_t EcmaHandleScope::NewHandle(JSThread *thread, JSTaggedType value)
|
|||||||
LOG_ECMA(INFO) << "New handle in scope count:" << context->handleScopeCount_
|
LOG_ECMA(INFO) << "New handle in scope count:" << context->handleScopeCount_
|
||||||
<< ", time:" << totalSpentTime << "ms";
|
<< ", time:" << totalSpentTime << "ms";
|
||||||
std::ostringstream stack;
|
std::ostringstream stack;
|
||||||
Backtrace(stack, true);
|
Backtrace(stack);
|
||||||
LOG_ECMA(INFO) << stack.str();
|
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_
|
LOG_ECMA(INFO) << "New primitiveHandle in scope count:" << context->primitiveScopeCount_
|
||||||
<< ", time:" << totalSpentTime << "ms";
|
<< ", time:" << totalSpentTime << "ms";
|
||||||
std::ostringstream stack;
|
std::ostringstream stack;
|
||||||
Backtrace(stack, true);
|
Backtrace(stack);
|
||||||
LOG_ECMA(INFO) << stack.str();
|
LOG_ECMA(INFO) << stack.str();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user