Revision: 7869
Author:   [email protected]
Date:     Wed May 11 10:29:47 2011
Log:      Speculative fix fo MultithreadedParallelIsolates on ARM
It looks like the problem with the test is too many concurrently created isolates.
Cranking the number to 100 on MacOS and Linux produce similar results.

BUG=http://code.google.com/p/v8/issues/detail?id=1375
TBR=vitalyr
http://code.google.com/p/v8/source/detail?r=7869

Modified:
 /branches/bleeding_edge/test/cctest/cctest.status
 /branches/bleeding_edge/test/cctest/test-lockers.cc

=======================================
--- /branches/bleeding_edge/test/cctest/cctest.status Tue May 10 05:30:01 2011 +++ /branches/bleeding_edge/test/cctest/cctest.status Wed May 11 10:29:47 2011
@@ -52,9 +52,6 @@
##############################################################################
 [ $arch == arm ]

-# BUG(1375): Test crashes on ARM.
-test-lockers/MultithreadedParallelIsolates: SKIP
-
# We cannot assume that we can throw OutOfMemory exceptions in all situations. # Apparently our ARM box is in such a state. Skip the test as it also runs for
 # a long time.
=======================================
--- /branches/bleeding_edge/test/cctest/test-lockers.cc Thu May 5 11:55:31 2011 +++ /branches/bleeding_edge/test/cctest/test-lockers.cc Wed May 11 10:29:47 2011
@@ -240,7 +240,11 @@

 // Run many threads each accessing its own isolate without locking
 TEST(MultithreadedParallelIsolates) {
+#ifdef V8_TARGET_ARCH_ARM
+  const int kNThreads = 10;
+#else
   const int kNThreads = 50;
+#endif
   i::List<JoinableThread*> threads(kNThreads);
   for (int i = 0; i < kNThreads; i++) {
     threads.Add(new IsolateNonlockingThread());

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to