From: hpayer@chromium.org Date: Wed, 22 May 2013 09:05:22 +0000 (+0000) Subject: Force GC before executing unbox double arrays test to avoid timeouts. X-Git-Tag: upstream/4.7.83~14178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c3c28646b58435b735535296ad1a37477fc43f7;p=platform%2Fupstream%2Fv8.git 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 --- 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);