Index: test/mjsunit/regress/regress-crbug-119926.js |
diff --git a/test/mjsunit/regress/regress-crbug-119926.js b/test/mjsunit/regress/regress-crbug-119926.js |
index 26b84fad7f809dbe164c1698c808a38868e74714..83238bb57e8d2e30ff5895c5181735436c26624e 100644 |
--- a/test/mjsunit/regress/regress-crbug-119926.js |
+++ b/test/mjsunit/regress/regress-crbug-119926.js |
@@ -25,9 +25,11 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+// Flags: --gc-global |
+ |
// Test that array elements don't break upon garbage collection. |
var a = new Array(500); |
-for (var i = 0; i < 500000; i++) { |
+for (var i = 0; i < 100000; i++) { |
a[i] = new Object(); |
} |