Index: test/cctest/test-lockers.cc |
diff --git a/test/cctest/test-lockers.cc b/test/cctest/test-lockers.cc |
index 385366aa24da0cfb9bf4039b65bce522659792ec..f12ca87fa617385160235337a9b9169612a476e0 100644 |
--- a/test/cctest/test-lockers.cc |
+++ b/test/cctest/test-lockers.cc |
@@ -298,7 +298,7 @@ class SeparateIsolatesLocksNonexclusiveThread : public JoinableThread { |
// 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 |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_S390 |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -382,7 +382,7 @@ class LockerUnlockerThread : public JoinableThread { |
// Use unlocker inside of a Locker, multiple threads. |
TEST(LockerUnlocker) { |
i::FLAG_always_opt = false; |
-#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_S390 |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -439,7 +439,7 @@ class LockTwiceAndUnlockThread : public JoinableThread { |
// Use Unlocker inside two Lockers. |
TEST(LockTwiceAndUnlock) { |
i::FLAG_always_opt = false; |
-#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_S390 |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -710,6 +710,8 @@ TEST(ExtensionsRegistration) { |
const int kNThreads = 10; |
#elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT |
const int kNThreads = 4; |
+#elif V8_TARGET_ARCH_S390 && V8_TARGET_ARCH_32_BIT |
+ const int kNThreads = 10; |
#else |
const int kNThreads = 40; |
#endif |