Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: test/mjsunit/unbox-double-arrays.js

Issue 15292002: Force GC before executing unbox double arrays test to avoid timeouts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/unbox-double-arrays.js
diff --git a/test/mjsunit/unbox-double-arrays.js b/test/mjsunit/unbox-double-arrays.js
index 5d061ae8c4bf8f39a2c89ac7ef42f4b878680a03..e773f4b0f7c0648fa7dca8e73376ae5bb92a218c 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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698