#include "include/cppgc/explicit-management.h"
#include "include/cppgc/garbage-collected.h"
#include "src/heap/cppgc/globals.h"
#include "src/heap/cppgc/heap-base.h"
#include "src/heap/cppgc/heap-object-header.h"
#include "src/heap/cppgc/heap-space.h"
#include "src/heap/cppgc/page-memory.h"
#include "src/heap/cppgc/sweeper.h"
#include "test/unittests/heap/cppgc/tests.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cppgc {
namespace internal {
class ExplicitManagementTest : public testing::TestWithHeap { … };
namespace {
class DynamicallySized final : public GarbageCollected<DynamicallySized> { … };
}
TEST_F(ExplicitManagementTest, FreeRegularObjectToLAB) { … }
TEST_F(ExplicitManagementTest, FreeRegularObjectToFreeList) { … }
TEST_F(ExplicitManagementTest, FreeLargeObject) { … }
TEST_F(ExplicitManagementTest, FreeBailsOutDuringGC) { … }
TEST_F(ExplicitManagementTest, GrowAtLAB) { … }
TEST_F(ExplicitManagementTest, GrowShrinkAtLAB) { … }
TEST_F(ExplicitManagementTest, ShrinkFreeList) { … }
TEST_F(ExplicitManagementTest, ShrinkFreeListBailoutAvoidFragmentation) { … }
TEST_F(ExplicitManagementTest, ResizeBailsOutDuringGC) { … }
}
}