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); |