Home
last modified time | relevance | path

Searched refs:failCount (Results 1 – 5 of 5) sorted by relevance

/ark/js_runtime/ecmascript/mem/
Dverification.cpp50 size_t failCount = 0; in VerifyRoot() local
51 RootVisitor visit1 = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot slot) { in VerifyRoot()
54 VerifyObjectVisitor(heap_, &failCount)(value.GetTaggedWeakRef()); in VerifyRoot()
56 VerifyObjectVisitor(heap_, &failCount)(value.GetTaggedObject()); in VerifyRoot()
59 …RootRangeVisitor visit2 = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot start, ObjectS… in VerifyRoot()
63 VerifyObjectVisitor(heap_, &failCount)(value.GetTaggedWeakRef()); in VerifyRoot()
65 VerifyObjectVisitor(heap_, &failCount)(value.GetTaggedObject()); in VerifyRoot()
70 if (failCount > 0) { in VerifyRoot()
71 LOG(ERROR, RUNTIME) << "VerifyRoot detects deadObject count is " << failCount; in VerifyRoot()
74 return failCount; in VerifyRoot()
[all …]
Dheap.cpp234 auto failCount = Verification(this).VerifyAll(); in CollectGarbage() local
235 if (failCount > 0) { in CollectGarbage()
236 LOG(FATAL, GC) << "Before gc heap corrupted and " << failCount << " corruptions"; in CollectGarbage()
309 failCount = Verification(this).VerifyAll(); in CollectGarbage()
310 if (failCount > 0) { in CollectGarbage()
311 LOG(FATAL, GC) << "After gc heap corrupted and " << failCount << " corruptions"; in CollectGarbage()
326 size_t failCount = 0; in VerifyHeapObjects() local
328 VerifyObjectVisitor verifier(this, &failCount); in VerifyHeapObjects()
333 VerifyObjectVisitor verifier(this, &failCount); in VerifyHeapObjects()
338 VerifyObjectVisitor verifier(this, &failCount); in VerifyHeapObjects()
[all …]
Dverification.h31 VerifyObjectVisitor(const Heap *heap, size_t *failCount) in VerifyObjectVisitor() argument
32 : heap_(heap), failCount_(failCount), objXRay_(heap->GetEcmaVM()) in VerifyObjectVisitor()
/ark/js_runtime/ecmascript/tests/
Dhuge_object_test.cpp116 size_t failCount = 0; in HWTEST_F_L0() local
117 VerifyObjectVisitor objVerifier(heap, &failCount); in HWTEST_F_L0()
119 EXPECT_TRUE(failCount == 0); in HWTEST_F_L0()
Djs_verification_test.cpp104 size_t failCount = 0; in HWTEST_F_L0() local
105 VerifyObjectVisitor objVerifier(heap, &failCount); in HWTEST_F_L0()