chromium/v8/test/cctest/heap/test-compaction.cc

// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace

HEAP_TEST(CompactionFullAbortedPage) {}

namespace {

int GetObjectSize(int objects_per_page) {}

}  // namespace

HEAP_TEST(CompactionPartiallyAbortedPage) {}

HEAP_TEST(CompactionPartiallyAbortedPageIntraAbortedPointers) {}

HEAP_TEST(CompactionPartiallyAbortedPageWithRememberedSetEntries) {}

}  // namespace heap
}  // namespace internal
}  // namespace v8