Bug 1416456 - Fix --enable-gczeal build bustage in JS engine. r=jandem
authorChristian Holler <choller@mozilla.com>
Sat, 11 Nov 2017 11:21:32 +0100
changeset 443550 f4c15a88c937e8b3940f5c1922142a6ffb137320
parent 443549 6f0e650b0e5353f829d0e9ce2d86e20482b6bd40
child 443551 3e225193ee6831d6a8c9b2aa48f0c2bb0eca8892
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1416456
milestone59.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 1416456 - Fix --enable-gczeal build bustage in JS engine. r=jandem MozReview-Commit-ID: 7o5pRbwBZ14
js/src/gc/Verifier.cpp
--- a/js/src/gc/Verifier.cpp
+++ b/js/src/gc/Verifier.cpp
@@ -685,20 +685,22 @@ CheckGrayMarkingTracer::checkCell(Cell* 
     if (parent->isMarkedBlack() && cell->isMarkedGray()) {
         failures++;
 
         fprintf(stderr, "Found black to gray edge to ");
         dumpCellInfo(cell);
         fprintf(stderr, "\n");
         dumpCellPath();
 
+#ifdef DEBUG
         if (cell->getTraceKind() == JS::TraceKind::Object) {
             fprintf(stderr, "\n");
             DumpObject(static_cast<JSObject*>(cell), stderr);
         }
+#endif
     }
 }
 
 bool
 CheckGrayMarkingTracer::check(AutoLockForExclusiveAccess& lock)
 {
     if (!traceHeap(lock))
         return true; // Ignore failure.