mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2025-02-26 15:28:33 +00:00
Change log level from info to debug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KC4X Signed-off-by: quiet-thought <chenjingxiang1@huawei.com> Change-Id: I1f56d66c1fd5d30ffb9d15e4c2c7e7268be95771
This commit is contained in:
parent
b0ba8a74b0
commit
7daef04a5e
@ -25,7 +25,6 @@ EcmaHandleScope::EcmaHandleScope(JSThread *thread) : thread_(thread)
|
||||
prevEnd_ = context->handleScopeStorageEnd_;
|
||||
prevHandleStorageIndex_ = context->currentHandleStorageIndex_;
|
||||
#ifdef ECMASCRIPT_ENABLE_HANDLE_LEAK_CHECK
|
||||
LOG_ECMA(INFO) << "Enable handle leak check";
|
||||
context->HandleScopeCountAdd();
|
||||
prevHandleScope_ = context->GetLastHandleScope();
|
||||
context->SetLastHandleScope(this);
|
||||
|
@ -346,7 +346,7 @@ void Heap::CollectGarbage(TriggerGCType gcType, GCReason reason)
|
||||
CHECK_NO_GC
|
||||
|
||||
#if ECMASCRIPT_ENABLE_HEAP_VERIFY
|
||||
LOG_ECMA(INFO) << "Enable heap verify";
|
||||
LOG_ECMA(DEBUG) << "Enable heap verify";
|
||||
isVerifying_ = true;
|
||||
// pre gc heap verify
|
||||
sweeper_->EnsureAllTaskFinished();
|
||||
|
@ -33,7 +33,7 @@
|
||||
#if ECMASCRIPT_ENABLE_NAPI_SPECIAL_CHECK
|
||||
#define LOG_IF_SPECIAL(handleValue, level) \
|
||||
do { \
|
||||
LOG_ECMA(INFO) << "Enable napi special check"; \
|
||||
LOG_ECMA(DEBUG) << "Enable napi special check"; \
|
||||
if ((handleValue).GetTaggedValue().IsSpecial()) { \
|
||||
LOG_FULL(level) << "Special value " << (handleValue).GetTaggedType() << " checked!"; \
|
||||
} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user