Lines Matching defs:failCount

443     size_t failCount = 0;
444 RootVisitor visitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot slot) {
450 VerifyObjectSlot(slot, &failCount);
452 RootRangeVisitor rangeVisitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) {
459 VerifyObjectSlot(slot, &failCount);
467 if (failCount > 0) {
468 LOG_GC(ERROR) << "VerifyRoot detects deadObject count is " << failCount;
471 return failCount;
476 size_t failCount = heap_->VerifyHeapObjects(verifyKind_);
477 if (failCount > 0) {
478 LOG_GC(ERROR) << "VerifyHeap detects deadObject count is " << failCount;
480 return failCount;
485 size_t failCount = heap_->VerifyOldToNewRSet(verifyKind_);
486 if (failCount > 0) {
487 LOG_GC(ERROR) << "VerifyOldToNewRSet detects non new space count is " << failCount;
489 return failCount;
492 void Verification::VerifyObjectSlot(const ObjectSlot &slot, size_t *failCount) const
496 VerifyObjectVisitor(heap_, failCount, verifyKind_)(value.GetTaggedWeakRef());
498 VerifyObjectVisitor(heap_, failCount, verifyKind_)(value.GetTaggedObject());
778 size_t failCount = 0;
779 RootVisitor visitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot slot) {
780 VerifyObjectSlot(slot, &failCount);
782 RootRangeVisitor rangeVisitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) {
784 VerifyObjectSlot(slot, &failCount);
791 RootVisitor serializeVisitor = [this, &failCount]([[maybe_unused]] Root type, ObjectSlot slot) {
795 ++failCount;
805 if (failCount > 0) {
806 LOG_GC(ERROR) << "SharedHeap VerifyRoot detects deadObject count is " << failCount;
809 return failCount;
818 size_t failCount = sHeap_->VerifyHeapObjects(verifyKind_);
819 if (failCount > 0) {
820 LOG_GC(ERROR) << "SharedHeap VerifyHeap detects deadObject count is " << failCount;
837 if (failCount > 0) {
838 LOG_GC(ERROR) << "SharedHeap VerifyRoot detects deadObject in local heap count is " << failCount;
841 return failCount;
844 void SharedHeapVerification::VerifyObjectSlot(const ObjectSlot &slot, size_t *failCount) const
848 VerifyObjectVisitor(sHeap_, failCount, verifyKind_)(value.GetTaggedWeakRef());
850 VerifyObjectVisitor(sHeap_, failCount, verifyKind_)(value.GetTaggedObject());