Revision: 13353
Author:   [email protected]
Date:     Thu Jan 10 06:21:27 2013
Log:      Make recent regression test resilient against GC stress.

[email protected]
TEST=mjsunit/regress/regress-165637

Review URL: https://codereview.chromium.org/11824062
http://code.google.com/p/v8/source/detail?r=13353

Modified:
 /branches/bleeding_edge/test/mjsunit/regress/regress-165637.js

=======================================
--- /branches/bleeding_edge/test/mjsunit/regress/regress-165637.js Wed Dec 12 07:20:45 2012 +++ /branches/bleeding_edge/test/mjsunit/regress/regress-165637.js Thu Jan 10 06:21:27 2013
@@ -44,6 +44,10 @@

   return Date.now() - start;
 }
+
+// Reset the GC interval to be off. Needed so that the runtime of this test
+// stays within bounds even if we run in GC stress mode.
+%SetFlags("--gc-interval=-1");

// Should never take more than 3 seconds (if the bug is fixed, the test takes
 // considerably less time than 3 seconds).

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

Reply via email to