Bug 1252653 - Fix intermittent failures in incremental-state.js jittest. r=terrence, a=test-only
authorJon Coppeard <jcoppeard@mozilla.com>
Thu, 17 Mar 2016 10:05:54 +0000
changeset 324478 7d547d913a2ee435ff7bc90c804a6012092c428d
parent 324477 7c3ef5d06736bc63d138975a7194050569c62636
child 324479 0b564c3446576a9a43531817d9d41cb35d20c424
push id6028
push userryanvm@gmail.com
push dateThu, 26 May 2016 13:40:52 +0000
treeherdermozilla-beta@5564b762402e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence, test-only
bugs1252653
milestone47.0
Bug 1252653 - Fix intermittent failures in incremental-state.js jittest. r=terrence, a=test-only
js/src/jit-test/tests/gc/incremental-state.js
--- a/js/src/jit-test/tests/gc/incremental-state.js
+++ b/js/src/jit-test/tests/gc/incremental-state.js
@@ -24,35 +24,35 @@ assertEq(gcstate(), "mark");
 gcslice(1000000);
 while (gcstate() == "finalize") { gcslice(1); }
 assertEq(gcstate(), "none");
 
 // Zeal mode 8: Incremental GC in two main slices:
 //   1) mark roots
 //   2) mark and sweep
 //   *) finalize.
-gczeal(8);
+gczeal(8, 0);
 gcslice(1);
 assertEq(gcstate(), "mark");
 gcslice(1);
 while (gcstate() == "finalize") { gcslice(1); }
 assertEq(gcstate(), "none");
 
 // Zeal mode 9: Incremental GC in two main slices:
 //   1) mark roots and marking
 //   2) new marking and sweeping
 //   *) finalize.
-gczeal(9);
+gczeal(9, 0);
 gcslice(1);
 assertEq(gcstate(), "mark");
 gcslice(1);
 while (gcstate() == "finalize") { gcslice(1); }
 assertEq(gcstate(), "none");
 
 // Zeal mode 10: Incremental GC in multiple slices (always yeilds before
 // sweeping). This test uses long slices to prove that this zeal mode yields
 // in sweeping, where normal IGC (above) does not.
-gczeal(10);
+gczeal(10, 0);
 gcslice(1000000);
 assertEq(gcstate(), "sweep");
 gcslice(1000000);
 while (gcstate() == "finalize") { gcslice(1); }
 assertEq(gcstate(), "none");