#include "src/execution/isolate.h"
#include "src/heap/factory.h"
#include "src/heap/heap-inl.h"
#include "src/heap/mark-compact.h"
#include "src/heap/marking-state-inl.h"
#include "src/heap/mutable-page-metadata.h"
#include "src/heap/remembered-set-inl.h"
#include "src/objects/objects-inl.h"
#include "test/cctest/cctest.h"
#include "test/cctest/heap/heap-tester.h"
#include "test/cctest/heap/heap-utils.h"
namespace v8 {
namespace internal {
namespace heap {
namespace {
void CheckInvariantsOfAbortedPage(PageMetadata* page) { … }
void CheckAllObjectsOnPage(const std::vector<Handle<FixedArray>>& handles,
PageMetadata* page) { … }
}
HEAP_TEST(CompactionFullAbortedPage) { … }
namespace {
int GetObjectSize(int objects_per_page) { … }
}
HEAP_TEST(CompactionPartiallyAbortedPage) { … }
HEAP_TEST(CompactionPartiallyAbortedPageIntraAbortedPointers) { … }
HEAP_TEST(CompactionPartiallyAbortedPageWithRememberedSetEntries) { … }
}
}
}