#include <atomic>
#include <unordered_set>
#include "src/api/api.h"
#include "src/base/platform/semaphore.h"
#include "src/handles/handles-inl.h"
#include "src/handles/local-handles-inl.h"
#include "src/handles/persistent-handles.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 {
using ConcurrentFeedbackVectorTest = TestWithContext;
namespace internal {
namespace {
const int kCycles = …;
static std::atomic<bool> all_states_seen{ … };
class FeedbackVectorExplorationThread final : public v8::base::Thread { … };
static void CheckedWait(base::Semaphore& semaphore) { … }
TEST_F(ConcurrentFeedbackVectorTest, CheckLoadICStates) { … }
}
}
}