#include "src/heap/local-heap.h"
#include <optional>
#include "src/base/platform/condition-variable.h"
#include "src/base/platform/mutex.h"
#include "src/heap/heap.h"
#include "src/heap/parked-scope.h"
#include "src/heap/safepoint.h"
#include "test/unittests/heap/heap-utils.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
using LocalHeapTest = TestWithIsolate;
TEST_F(LocalHeapTest, Initialize) { … }
TEST_F(LocalHeapTest, Current) { … }
namespace {
class BackgroundThread final : public v8::base::Thread { … };
}
TEST_F(LocalHeapTest, CurrentBackground) { … }
namespace {
class GCEpilogue { … };
class BackgroundThreadForGCEpilogue final : public v8::base::Thread { … };
}
TEST_F(LocalHeapTest, GCEpilogue) { … }
}
}