#include "src/common/globals.h"
#include "src/execution/isolate-inl.h"
#include "src/heap/heap-inl.h"
#include "test/cctest/cctest.h"
#ifdef V8_COMPRESS_POINTERS
namespace v8 {
namespace internal {
UNINITIALIZED_TEST(PtrComprCageAndIsolateRoot) { … }
UNINITIALIZED_TEST(PtrComprCageCodeRange) { … }
#ifdef V8_COMPRESS_POINTERS_IN_SHARED_CAGE
UNINITIALIZED_TEST(SharedPtrComprCage) { … }
UNINITIALIZED_TEST(SharedPtrComprCageCodeRange) { … }
namespace {
constexpr int kIsolatesToAllocate = …;
class IsolateAllocatingThread final : public v8::base::Thread { … };
}
UNINITIALIZED_TEST(SharedPtrComprCageRace) { … }
#ifdef V8_SHARED_RO_HEAP
UNINITIALIZED_TEST(SharedPtrComprCageImpliesSharedReadOnlyHeap) { … }
#endif
#endif
}
}
#endif