!7299 清理超限日志打印

Merge pull request !7299 from qibao/master
This commit is contained in:
openharmony_ci 2024-05-10 07:19:17 +00:00 committed by Gitee
commit 8c2e576664
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 0 additions and 3 deletions

View File

@ -445,7 +445,6 @@ TaggedObject *Heap::AllocateSharedNonMovableSpaceFromTlab(JSThread *thread, size
size_t newTlabSize = sNonMovableTlab_->ComputeSize();
object = SharedHeap::GetInstance()->AllocateSNonMovableTlab(thread, newTlabSize);
if (object == nullptr) {
LOG_ECMA_MEM(WARN) << "allocate shared non movable space tlab failed";
return nullptr;
}
uintptr_t begin = reinterpret_cast<uintptr_t>(object);
@ -471,7 +470,6 @@ TaggedObject *Heap::AllocateSharedOldSpaceFromTlab(JSThread *thread, size_t size
size_t newTlabSize = sOldTlab_->ComputeSize();
object = SharedHeap::GetInstance()->AllocateSOldTlab(thread, newTlabSize);
if (object == nullptr) {
LOG_ECMA_MEM(WARN) << "allocate shared old space tlab failed";
return nullptr;
}
uintptr_t begin = reinterpret_cast<uintptr_t>(object);

View File

@ -4094,7 +4094,6 @@ bool JSNApi::StopDebugger([[maybe_unused]] int tid)
bool JSNApi::IsMixedDebugEnabled([[maybe_unused]] const EcmaVM *vm)
{
#if defined(ECMASCRIPT_SUPPORT_DEBUGGER)
CROSS_THREAD_AND_EXCEPTION_CHECK_WITH_RETURN(vm, false);
return vm->GetJsDebuggerManager()->IsMixedDebugEnabled();
#else
return false;