Bug 1466166 - Fix test code for bug 1464872 to work with GC zeal. r=sfink, a=test-only
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 01 Jun 2018 09:31:00 -0400
changeset 473575 d188896a583d22cda4176c132fdbe96c52310996
parent 473574 d5cafc05874cacb1a423ddda6c598a6db05716b1
child 473576 26ad4f0fc4f3332b17250e9a44c3ba0cae10c508
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink, test-only
bugs1466166, 1464872
milestone61.0
Bug 1466166 - Fix test code for bug 1464872 to work with GC zeal. r=sfink, a=test-only
js/src/jit-test/tests/gc/bug-1464872.js
--- a/js/src/jit-test/tests/gc/bug-1464872.js
+++ b/js/src/jit-test/tests/gc/bug-1464872.js
@@ -1,8 +1,10 @@
+gczeal(0);
+
 var g = newGlobal();
 var dbg = Debugger(g);
 dbg.onEnterFrame = function(frame) {};
 
 var g2 = newGlobal();
 g2[g] = g;
 g2.evaluate("grayRoot()")
 g2 = undefined;