Searched refs:failCount (Results 1 – 5 of 5) sorted by relevance
/ark/js_runtime/ecmascript/mem/ |
D | verification.cpp | 50 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 …]
|
D | heap.cpp | 234 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 …]
|
D | verification.h | 31 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/ |
D | huge_object_test.cpp | 116 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()
|
D | js_verification_test.cpp | 104 size_t failCount = 0; in HWTEST_F_L0() local 105 VerifyObjectVisitor objVerifier(heap, &failCount); in HWTEST_F_L0()
|