Bug 927204 - Fix timout of jit-test basic/bug623860.js by replacing test with equivalent r=terrence
authorJon Coppeard <jcoppeard@mozilla.com>
Mon, 28 Oct 2013 10:28:29 +0000
changeset 167233 621385065548067c3aff789a78b786eb0f5af64f
parent 167232 43b42fb3dc190b7ff107e67bd902d3b701877e94
child 167234 f00ded19bfeed747d738c51cee30a65529ad3b50
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence
bugs927204, 623860
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 927204 - Fix timout of jit-test basic/bug623860.js by replacing test with equivalent r=terrence
js/src/jit-test/tests/basic/bug623859.js
--- a/js/src/jit-test/tests/basic/bug623859.js
+++ b/js/src/jit-test/tests/basic/bug623859.js
@@ -1,16 +1,10 @@
 // |jit-test| allow-oom
-
-(function() {
-   Iterator((function() {
-           switch ((7)) {
-               default:
-                     return (Float32Array).call([], 4300018)
-                         case Proxy.create((function() {
-                                     return {
-                                               e:
-                                                         function() {}
-                                                                 }
-                                                                       })):
-                             }
-                               })())
-   })()
+var size = 1000000;
+var a = [];
+for (var i = 0; i < size; ++i) {
+    a[i] = null;
+}
+gcparam("maxBytes", gcparam("gcBytes") + 4*1024);
+for (var i = 0; i < size; ++i) {
+    a[i] = [];
+}