Reviewers: ulan,

Message:
Committed patchset #1 (id:1) manually as 24569 (tree was closed).

Description:
Fix IdleNotificationFinishMarking test on slow devices.

BUG=
[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=24569

Please review this at https://codereview.chromium.org/641533004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -2 lines):
  M test/cctest/test-heap.cc


Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index 969fd8824d2b20ed76bac324a4a91d8535af9b21..e2c2ca607c6ad45ca2ec0e2d7888fc55c957a98a 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -2219,8 +2219,8 @@ TEST(IdleNotificationFinishMarking) {
   }

   // 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