Bug 1344454 - Disable compacting GC in testGCGrayMarking test r=jandem
authorJon Coppeard <jcoppeard@mozilla.com>
Sat, 04 Mar 2017 15:51:25 +0000
changeset 375051 63f4a611e340e27e2000321ac39a89a871e4d1c0
parent 375050 ba5e3b0a356e7bf1e5e4c73c2e35b0299eb90752
child 375052 8ab76e34613bf4af022e05d14ed5f75529ed951d
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1344454
milestone54.0a1
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() &&