Commit 7f994ee0 authored by yangguo's avatar yangguo Committed by Commit bot

Disable always-opt for locker tests.

In no-snap mode, creating 100 contexts can take a while.
This becomes even worse with always-opt.

R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1092003002

Cr-Commit-Position: refs/heads/master@{#27910}
parent 4e37bd06
...@@ -209,6 +209,7 @@ static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) { ...@@ -209,6 +209,7 @@ static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) {
// Run many threads all locking on the same isolate // Run many threads all locking on the same isolate
TEST(IsolateLockingStress) { TEST(IsolateLockingStress) {
i::FLAG_always_opt = false;
#if V8_TARGET_ARCH_MIPS #if V8_TARGET_ARCH_MIPS
const int kNThreads = 50; const int kNThreads = 50;
#else #else
...@@ -250,6 +251,7 @@ class IsolateNestedLockingThread : public JoinableThread { ...@@ -250,6 +251,7 @@ class IsolateNestedLockingThread : public JoinableThread {
// Run many threads with nested locks // Run many threads with nested locks
TEST(IsolateNestedLocking) { TEST(IsolateNestedLocking) {
i::FLAG_always_opt = false;
#if V8_TARGET_ARCH_MIPS #if V8_TARGET_ARCH_MIPS
const int kNThreads = 50; const int kNThreads = 50;
#else #else
...@@ -292,6 +294,7 @@ class SeparateIsolatesLocksNonexclusiveThread : public JoinableThread { ...@@ -292,6 +294,7 @@ class SeparateIsolatesLocksNonexclusiveThread : public JoinableThread {
// Run parallel threads that lock and access different isolates in parallel // Run parallel threads that lock and access different isolates in parallel
TEST(SeparateIsolatesLocksNonexclusive) { 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
const int kNThreads = 50; const int kNThreads = 50;
#else #else
...@@ -369,6 +372,7 @@ class LockerUnlockerThread : public JoinableThread { ...@@ -369,6 +372,7 @@ class LockerUnlockerThread : public JoinableThread {
// Use unlocker inside of a Locker, multiple threads. // Use unlocker inside of a Locker, multiple threads.
TEST(LockerUnlocker) { 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
const int kNThreads = 50; const int kNThreads = 50;
#else #else
...@@ -423,6 +427,7 @@ class LockTwiceAndUnlockThread : public JoinableThread { ...@@ -423,6 +427,7 @@ class LockTwiceAndUnlockThread : public JoinableThread {
// Use Unlocker inside two Lockers. // Use Unlocker inside two Lockers.
TEST(LockTwiceAndUnlock) { 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
const int kNThreads = 50; const int kNThreads = 50;
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment