Bug 863716 - Do a CC and a second GC between each subtest of test_webgl_conformance_test_suite.html to minimize the OOM kills of WinXP slaves, r=bjacob
authorPhil Ringnalda <philringnalda@gmail.com>
Sun, 05 May 2013 12:17:11 -0700
changeset 141847 b109e2dbf03bd4d06cfcfb1a74cec884808e35eb
parent 141846 334e63a273cbbe23ed26a144a4c6d9a48e65a5b9
child 141862 dae38fc0aeb45889c607e27ee02a53b7967d34bd
child 141865 601cbedb3e4dd137213c813937789837f8940656
child 141879 dab96a9565165eeba6f36d6b2f557368228d9089
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs863716
milestone23.0a1
first release with
nightly linux32
b109e2dbf03b / 23.0a1 / 20130506030925 / files
nightly linux64
b109e2dbf03b / 23.0a1 / 20130506030925 / files
nightly mac
b109e2dbf03b / 23.0a1 / 20130506030925 / files
nightly win32
b109e2dbf03b / 23.0a1 / 20130506030925 / files
nightly win64
b109e2dbf03b / 23.0a1 / 20130506030925 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 863716 - Do a CC and a second GC between each subtest of test_webgl_conformance_test_suite.html to minimize the OOM kills of WinXP slaves, r=bjacob
content/canvas/test/webgl/skipped_tests_winxp.txt
content/canvas/test/webgl/test_webgl_conformance_test_suite.html
--- a/content/canvas/test/webgl/skipped_tests_winxp.txt
+++ b/content/canvas/test/webgl/skipped_tests_winxp.txt
@@ -1,3 +1,1 @@
-conformance/more/conformance/quickCheckAPI-B2.html
-conformance/more/conformance/quickCheckAPI-B3.html
 conformance/more/functions/bufferSubDataBadArgs.html
--- a/content/canvas/test/webgl/test_webgl_conformance_test_suite.html
+++ b/content/canvas/test/webgl/test_webgl_conformance_test_suite.html
@@ -307,16 +307,18 @@ function start() {
     }
     info("[" + url + "] (WebGL mochitest) Starting test page");
 
     // Calling garbageCollect before each test page fixes intermittent failures with
     // out-of-memory errors, often failing to create a WebGL context.
     // The explanation is that the JS engine keeps unreferenced WebGL contexts around
     // for too long before GCing (bug 617453), so that during this mochitest dozens of unreferenced
     // WebGL contexts can accumulate at a given time.
+    SpecialPowers.DOMWindowUtils.cycleCollect();
+    SpecialPowers.DOMWindowUtils.garbageCollect();
     SpecialPowers.DOMWindowUtils.garbageCollect();
 
     var page = this.pagesByURL[url];
     this.currentPage = page;
     statusTextNode.textContent = 'Running URL: ' + url;
     expectedtofailTextNode.textContent = testsExpectedToFail.length +
                                          ' test pages are expected to fail out of ' +
                                          this.totalPages;