Bug 1344454 - Disable compacting GC in testGCGrayMarking test r=jandem
authorJon Coppeard <jcoppeard@mozilla.com>
Sat, 04 Mar 2017 15:51:25 +0000
changeset 395001 63f4a611e340e27e2000321ac39a89a871e4d1c0
parent 395000 ba5e3b0a356e7bf1e5e4c73c2e35b0299eb90752
child 395002 8ab76e34613bf4af022e05d14ed5f75529ed951d
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1344454
milestone54.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 1344454 - Disable compacting GC in testGCGrayMarking test r=jandem
js/src/jsapi-tests/testGCGrayMarking.cpp
--- a/js/src/jsapi-tests/testGCGrayMarking.cpp
+++ b/js/src/jsapi-tests/testGCGrayMarking.cpp
@@ -30,26 +30,26 @@ template <>
 struct GCPolicy<js::ObjectWeakMap*> {
     static void trace(JSTracer* trc, js::ObjectWeakMap** tp, const char* name) {
         (*tp)->trace(trc);
     }
 };
 
 } // namespace JS
 
-
 class AutoNoAnalysisForTest
 {
   public:
     AutoNoAnalysisForTest() {}
 } JS_HAZ_GC_SUPPRESSED;
 
 BEGIN_TEST(testGCGrayMarking)
 {
     AutoNoAnalysisForTest disableAnalysis;
+    AutoDisableCompactingGC disableCompactingGC(cx);
 
     CHECK(InitGlobals());
     JSAutoCompartment ac(cx, global1);
 
     InitGrayRootTracer();
 
     bool ok =
         TestMarking() &&