From 9c3c28646b58435b735535296ad1a37477fc43f7 Mon Sep 17 00:00:00 2001 From: "hpayer@chromium.org" Date: Wed, 22 May 2013 09:05:22 +0000 Subject: [PATCH] Force GC before executing unbox double arrays test to avoid timeouts. BUG= Review URL: https://codereview.chromium.org/15292002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14743 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/mjsunit/unbox-double-arrays.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/mjsunit/unbox-double-arrays.js b/test/mjsunit/unbox-double-arrays.js index 5d061ae..e773f4b 100644 --- a/test/mjsunit/unbox-double-arrays.js +++ b/test/mjsunit/unbox-double-arrays.js @@ -352,6 +352,9 @@ function testOneArrayType(allocator) { assertTrue(%HasFastDoubleElements(large_array)); } +// Force gc here to start with a clean heap if we repeat this test multiple +// times. +gc(); testOneArrayType(make_object_like_array); testOneArrayType(Array); -- 2.7.4