michael@0: // XXXshu: I tried wrapping the entire test in an |if (pjs)|, but the timing michael@0: // is fragile and it no longer reproduced the bug, thus getting this value at michael@0: // the beginning. michael@0: var pjs = getBuildConfiguration().parallelJS; michael@0: function f(a, b) { michael@0: var o = a; michael@0: gczeal(2); michael@0: } michael@0: f(3, 4); michael@0: var len = 5000; michael@0: var iters = 100; michael@0: for (var i = 0; i < iters; i++) { michael@0: var par = pjs ? Array.buildPar(len, fill) : true; michael@0: } michael@0: function fill(i) { return 10/i; }