From 8f60f65bdfac5e219e9e59d46a5a01d777cdb9c7 Mon Sep 17 00:00:00 2001 From: "hpayer@chromium.org" Date: Fri, 27 Sep 2013 11:04:16 +0000 Subject: [PATCH] Disable gc stress mode for mjsunit timer test. BUG= R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/24979002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16984 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/mjsunit/timer.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/mjsunit/timer.js b/test/mjsunit/timer.js index bac474cfc1..0b035501e7 100644 --- a/test/mjsunit/timer.js +++ b/test/mjsunit/timer.js @@ -25,8 +25,15 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// Flags: --allow-natives-syntax + // Tests timer milliseconds granularity. +// Don't run this test in gc stress mode. Time differences may be long +// due to garbage collections. +%SetFlags("--gc-interval=-1"); +%SetFlags("--nostress-compaction"); + (function run() { var start_test = Date.now(); // Let the retry run for maximum 100ms to reduce flakiness.