chromium/v8/test/unittests/heap/safepoint-unittest.cc

// Copyright 2020 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/heap/safepoint.h"

#include "src/base/platform/mutex.h"
#include "src/base/platform/platform.h"
#include "src/heap/heap.h"
#include "src/heap/local-heap.h"
#include "src/heap/parked-scope.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {

using SafepointTest = TestWithIsolate;

TEST_F(SafepointTest, ReachSafepointWithoutLocalHeaps) {}

class ParkedThread final : public v8::base::Thread {};

TEST_F(SafepointTest, StopParkedThreads) {}

static const int kIterations =;

class RunningThread final : public v8::base::Thread {};

TEST_F(SafepointTest, StopRunningThreads) {}

}  // namespace internal
}  // namespace v8