// Run many threads all locking on the same isolate
TEST(IsolateLockingStress) {
+ i::FLAG_always_opt = false;
#if V8_TARGET_ARCH_MIPS
const int kNThreads = 50;
#else
// Run many threads with nested locks
TEST(IsolateNestedLocking) {
+ i::FLAG_always_opt = false;
#if V8_TARGET_ARCH_MIPS
const int kNThreads = 50;
#else
// Run parallel threads that lock and access different isolates in parallel
TEST(SeparateIsolatesLocksNonexclusive) {
+ i::FLAG_always_opt = false;
#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
const int kNThreads = 50;
#else
// Use unlocker inside of a Locker, multiple threads.
TEST(LockerUnlocker) {
+ i::FLAG_always_opt = false;
#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
const int kNThreads = 50;
#else
// Use Unlocker inside two Lockers.
TEST(LockTwiceAndUnlock) {
+ i::FLAG_always_opt = false;
#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
const int kNThreads = 50;
#else