Bug 1546622 - Make incremental-abort test more robust r=pbone
authorJon Coppeard <jcoppeard@mozilla.com>
Wed, 24 Apr 2019 15:58:43 +0100
changeset 530552 5f7126784c3bbc2df74fe29a46fb7142ffd97519
parent 530551 75a329d3bce4f654214b1d14c2cfb6b22770e8ee
child 530553 5ce9edd26ca11e54d49980e92afc2ac73eca3383
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbone
bugs1546622
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1546622 - Make incremental-abort test more robust r=pbone Add a gc() call so that any in-progress GC triggered by creating objects gets finished up and the test starts from a known state. I also updated the binjs compiled versions of this test. Differential Revision: https://phabricator.services.mozilla.com/D28699
js/src/jit-test/tests/binast/lazy/gc/incremental-abort.binjs
js/src/jit-test/tests/binast/nonlazy/gc/incremental-abort.binjs
js/src/jit-test/tests/gc/incremental-abort.js
index 7bee9857505749e0652416400872dfaafa533d3e..970f1caa4346f226e7f78dcb2ab642cb1bb0c070
GIT binary patch
literal 1575
zc$|e(U2oz>6rGGLYh+m#MF^oNLbDM<WJwW<qSY!u6v$Vz3M_)OeTep9FcX+!Y&ssY
zO;-EfKhR&)AJ*O(Ft%1z*U0AHbI#1Y_jug98+;h!$J<f2-|vn-i75}2P%o_?oSWL6
zNuC6k*MF=ek7E&q2bU}e(zKd}W5pC-!iwg-P+YQLuwHU0{8Z7{5@RJrI7{)vo(QLa
zr1dBuOunR&S~rflRD62H{eVe69k3;@{=%eSlYnnPra)Nv7K`M0vUV87LTgws1ZK&h
z8NE%?Z!d}h&cd`Psw69WLF6ySezf9_2~U9#vrtd_z~qdpwDr;zQ*0<fD%DHz?rCRB
zbz3IkbZPo=@*DS6TJl)Sh2Q7PN!ImpS4x(#<9IhxGK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6uA50213Hcgi3WSv(u~=TDYlm?nw1$O4U=|#j
z(c7f`cH=nYEXs<aO1iQe#{PWl$4l;*@C*nMM0(nLCIhar)=Sq+v7rR1RL{k`$E_{Z
zO_`L_rRlrL2kxt^<gu0uzt0zwUDwMUDcO!4$J>$8K}>U}DLnS2SgPAFo`Bn$p(z9Q
z7@(F-u=8@elCydCB6}?0@@5tJ+O-{%OE<CHswgCj9ZQo&y5gPeb2W>nS8=33n3P9c
ztz>pk+;yAu_vI9joi_fQiI8t)599mM-Qaed9nN3vk^RJEUhzbACb3lHOB``rFEE{$
zg}JGi8VZX-5(=MR#j8j;T9<f%pJ+`nHtw$(gXA@D^86rH9hl;Y=a{js_t6S`H}Jo3
z7Fz$H7TsLyJ(82<Dw);3igPNy9X08_rXFKSYtSbZv`rgL_-oOfk^t1}N3^oD3+Nu+
zH>r0OFP6+#q|fBs8Gqt@>6y_2KgXX~xPn%Pj~kcig3bB*9NkK`oYi(p9MP{-Ppb`Z
z19Ke8KgbUv{>hY+N}HXBbbW4!o+zKp;9H%;$LWDVx`BN?(5Brc#oz1~?Y32~<CfKK
zKirRcz3espWnZ3P4<op87Dg1?XmdeUMz0WZFhMPJObV!k3b=p@mWK*9L1^!sI3=gx
zcn&Ew;E9mu!d-;hf;$I$<Z}q;o!m?G+63-)b9aDTRO+I)W%pnoA!2B#c!8^!R$9e9
zh)*roPJiTvoRJ!-k_!1vD_$eZ!Zl=_W9SEh+$GisbZmBVin{%43wfk_?Y_Y%kI23*
zWE;AufkStQiij8##0_MfmYw3>*<lH?R~UxC=)hVpJw(K02n3~z|8NT1o2+uV4!-}L
S1)3-S!;|BmDo%c?c=<2u*t;+Q
--- a/js/src/jit-test/tests/gc/incremental-abort.js
+++ b/js/src/jit-test/tests/gc/incremental-abort.js
@@ -19,16 +19,18 @@ function testAbort(zoneCount, objectCoun
                  "    for (var i = 0; i < objectCount; i++) " +
                  "        objects.push({i: i}); " +
                 "}",
                  { global: zone });
         zone.makeObjectGraph(objectCount);
         zones.push(zone);
     }
 
+    gc();
+
     var didAbort = false;
     startgc(sliceCount, "shrinking");
     while (gcstate() !== "NotActive") {
         var state = gcstate();
         if (state == abortState) {
             abortgc();
             didAbort = true;
             break;