Revision: 24569
Author:   [email protected]
Date:     Mon Oct 13 18:54:20 2014 UTC
Log:      Fix IdleNotificationFinishMarking test on slow devices.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/641533004
https://code.google.com/p/v8/source/detail?r=24569

Modified:
 /branches/bleeding_edge/test/cctest/test-heap.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Mon Oct 13 16:27:55 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-heap.cc Mon Oct 13 18:54:20 2014 UTC
@@ -2219,8 +2219,8 @@
   }

   // The next idle notification has to finish incremental marking.
-  const int kShortIdleTimeInMs = 1;
-  CcTest::isolate()->IdleNotification(kShortIdleTimeInMs);
+  const int kLongIdleTime = 1000000;
+  CcTest::isolate()->IdleNotification(kLongIdleTime);
   CHECK_EQ(CcTest::heap()->gc_count(), 1);
 }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to