Definition at line 939 of file incremental_compactor.cc.
◆ VerifyAfterIncrementalCompactionVisitor()
dart::VerifyAfterIncrementalCompactionVisitor::VerifyAfterIncrementalCompactionVisitor |
( |
| ) |
|
|
inline |
Definition at line 942 of file incremental_compactor.cc.
static IsolateGroup * Current()
ObjectPointerVisitor(IsolateGroup *isolate_group)
◆ failed()
bool dart::VerifyAfterIncrementalCompactionVisitor::failed |
( |
| ) |
const |
|
inline |
◆ VisitObject()
void dart::VerifyAfterIncrementalCompactionVisitor::VisitObject |
( |
ObjectPtr |
obj | ) |
|
|
inlineoverridevirtual |
Implements dart::ObjectVisitor.
Definition at line 945 of file incremental_compactor.cc.
945 {
946
947 if (obj->IsNewObject()) {
949 current_ = obj;
951 }
952 } else {
953 if (obj->untag()->IsMarked()) {
954 current_ = obj;
956 }
957 }
958 }
UntaggedObject * untag() const
intptr_t VisitPointers(ObjectPointerVisitor *visitor)
◆ VisitPointers()
void dart::VerifyAfterIncrementalCompactionVisitor::VisitPointers |
( |
ObjectPtr * |
from, |
|
|
ObjectPtr * |
to |
|
) |
| |
|
inlineoverridevirtual |
Implements dart::ObjectPointerVisitor.
Definition at line 960 of file incremental_compactor.cc.
960 {
961 for (ObjectPtr* ptr = from; ptr <= to; ptr++) {
962 ObjectPtr obj = *ptr;
963 if (!obj->IsHeapObject()) continue;
964 if (obj->IsForwardingCorpse() || obj->IsFreeListElement() ||
965 (obj->IsOldObject() && !obj->untag()->IsMarked())) {
967 static_cast<uword>(current_),
reinterpret_cast<uword>(ptr),
968 static_cast<uword>(obj));
969 failed_ = true;
970 }
971 }
972 }
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
The documentation for this class was generated from the following file: