Index: test/mjsunit/array-feedback.js |
diff --git a/test/mjsunit/array-feedback.js b/test/mjsunit/array-feedback.js |
index d1b3062eb065d4738ac4367b8233abe19ecc8afe..ebe1b95d6c741738d2b70fe67c675281dd3e1d94 100644 |
--- a/test/mjsunit/array-feedback.js |
+++ b/test/mjsunit/array-feedback.js |
@@ -35,6 +35,11 @@ |
// in this test case. Depending on whether smi-only arrays are actually |
// enabled, this test takes the appropriate code path to check smi-only arrays. |
+// Reset the GC stress mode to be off. Needed because AllocationMementos only |
+// live for one gc, so a gc that happens in certain fragile areas of the test |
+// can break assumptions. |
+%SetFlags("--gc-interval=-1") |
+ |
// support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8)); |
support_smi_only_arrays = true; |