From dccc06e1324decb8ebcc7a936a684f9a52a64fcc Mon Sep 17 00:00:00 2001 From: "verwaest@chromium.org" Date: Thu, 7 Nov 2013 12:20:45 +0000 Subject: [PATCH] Disable stress-gc for memento-related test. R=mvstanton@chromium.org Review URL: https://chromiumcodereview.appspot.com/64003004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17559 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/mjsunit/array-literal-feedback.js | 5 +++++ test/mjsunit/fast-prototype.js | 2 ++ 2 files changed, 7 insertions(+) diff --git a/test/mjsunit/array-literal-feedback.js b/test/mjsunit/array-literal-feedback.js index d2245c6..93ed3bc 100644 --- a/test/mjsunit/array-literal-feedback.js +++ b/test/mjsunit/array-literal-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; diff --git a/test/mjsunit/fast-prototype.js b/test/mjsunit/fast-prototype.js index d700c3c..a86b0ea 100644 --- a/test/mjsunit/fast-prototype.js +++ b/test/mjsunit/fast-prototype.js @@ -29,6 +29,8 @@ // TODO(mstarzinger): This test does not succeed when GCs happen in // between prototype transitions, we disable GC stress for now. +%SetFlags("--gc-interval=-1") + // Flags: --noincremental-marking // Check that objects that are used for prototypes are in the fast mode. -- 2.7.4