| Index: test/cctest/test-lockers.cc
|
| diff --git a/test/cctest/test-lockers.cc b/test/cctest/test-lockers.cc
|
| index dc5404e92a07010f1f298474bd8b4ae739e7f8dd..76d0e8331055f7385098d511a634ea240dfeeb37 100644
|
| --- a/test/cctest/test-lockers.cc
|
| +++ b/test/cctest/test-lockers.cc
|
| @@ -221,42 +221,6 @@ TEST(IsolateLockingStress) {
|
| isolate->Dispose();
|
| }
|
|
|
| -class IsolateNonlockingThread : public JoinableThread {
|
| - public:
|
| - IsolateNonlockingThread() : JoinableThread("IsolateNonlockingThread") {}
|
| -
|
| - virtual void Run() {
|
| - v8::Isolate* isolate = v8::Isolate::New();
|
| - {
|
| - v8::Isolate::Scope isolate_scope(isolate);
|
| - v8::HandleScope handle_scope(isolate);
|
| - v8::Handle<v8::Context> context = v8::Context::New(isolate);
|
| - v8::Context::Scope context_scope(context);
|
| - CHECK_EQ(isolate, v8::internal::Isolate::Current());
|
| - CalcFibAndCheck();
|
| - }
|
| - isolate->Dispose();
|
| - }
|
| - private:
|
| -};
|
| -
|
| -
|
| -// Run many threads each accessing its own isolate without locking
|
| -TEST(MultithreadedParallelIsolates) {
|
| -#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
|
| - const int kNThreads = 10;
|
| -#elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT
|
| - const int kNThreads = 4;
|
| -#else
|
| - const int kNThreads = 50;
|
| -#endif
|
| - i::List<JoinableThread*> threads(kNThreads);
|
| - for (int i = 0; i < kNThreads; i++) {
|
| - threads.Add(new IsolateNonlockingThread());
|
| - }
|
| - StartJoinAndDeleteThreads(threads);
|
| -}
|
| -
|
|
|
| class IsolateNestedLockingThread : public JoinableThread {
|
| public:
|
|
|