Commit 268490c2 authored by Ross McIlroy's avatar Ross McIlroy Committed by Commit Bot

[Test] Lower arg count to avoid going over stack limit on Arm64.

After r68405 reduced the default stack size on Arm64 a couple of tests
hit stack limits on the Arm64 android bots. Reduce the argument count
on these tests to avoid this issue.

BUG=chromium:1099623

Change-Id: I8957043b74bd416bb78223599b1a661a4887f54a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2280095
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Auto-Submit: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68670}
parent c7eb5e72
......@@ -30,7 +30,7 @@
function boom() {
var args = [];
for (var i = 0; i < 125000; i++) {
for (var i = 0; i < 110000; i++) {
args.push(i);
}
return Array.apply(Array, args);
......@@ -38,5 +38,5 @@ function boom() {
var array = boom();
assertEquals(125000, array.length);
assertEquals(124999, array[124999]);
assertEquals(110000, array.length);
assertEquals(100999, array[100999]);
......@@ -29,7 +29,7 @@
function boom() {
var args = [];
for (var i = 0; i < 125000; i++)
for (var i = 0; i < 110000; i++)
args.push(i);
return Array.apply(Array, args);
}
......
......@@ -4,7 +4,7 @@
function boom() {
var args = [];
for (var i = 0; i < 125000; i++)
for (var i = 0; i < 110000; i++)
args.push(1.1);
return Array.apply(Array, args);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment