Title: [115208] trunk/LayoutTests
- Revision
- 115208
- Author
- [email protected]
- Date
- 2012-04-25 08:10:40 -0700 (Wed, 25 Apr 2012)
Log Message
fast/js/random-array-gc-stress times out in debug mode
https://bugs.webkit.org/show_bug.cgi?id=84821
Reviewed by Darin Adler.
* fast/js/script-tests/random-array-gc-stress.js: Reduce number of iterations so
that the test can complete without timing out. Also remove the gc() function because
a gc() function is already provided in resources/js-test-pre.js.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (115207 => 115208)
--- trunk/LayoutTests/ChangeLog 2012-04-25 14:52:06 UTC (rev 115207)
+++ trunk/LayoutTests/ChangeLog 2012-04-25 15:10:40 UTC (rev 115208)
@@ -1,3 +1,14 @@
+2012-04-25 Mark Hahnenberg <[email protected]>
+
+ fast/js/random-array-gc-stress times out in debug mode
+ https://bugs.webkit.org/show_bug.cgi?id=84821
+
+ Reviewed by Darin Adler.
+
+ * fast/js/script-tests/random-array-gc-stress.js: Reduce number of iterations so
+ that the test can complete without timing out. Also remove the gc() function because
+ a gc() function is already provided in resources/js-test-pre.js.
+
2012-04-25 Ádám Kallai <[email protected]>
[Qt] Unreviewed gardening. Rebaseline after r115187.
Modified: trunk/LayoutTests/fast/js/script-tests/random-array-gc-stress.js (115207 => 115208)
--- trunk/LayoutTests/fast/js/script-tests/random-array-gc-stress.js 2012-04-25 14:52:06 UTC (rev 115207)
+++ trunk/LayoutTests/fast/js/script-tests/random-array-gc-stress.js 2012-04-25 15:10:40 UTC (rev 115208)
@@ -2,15 +2,6 @@
'Tests to randomly modify an object graph of arrays to make sure the GC handles them properly now that it allocates both the JSArray and the ArrayStorage. To pass we need to not crash.'
);
-function gc()
-{
- if (this.GCController)
- GCController.collect();
- else
- for (var i = 0; i < 10000; ++i) // Allocate a sufficient number of objects to force a GC.
- ({});
-}
-
var global = [];
var getRandomIndex = function(length) {
@@ -47,7 +38,7 @@
};
var runs = 0;
-while (runs < 40) {
+while (runs < 30) {
test();
runs += 1;
global = [];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes