Bug 767643 - Don't assert(false) when finding black/gray edges (r=mccr8)
authorBill McCloskey <wmccloskey@mozilla.com>
Tue, 26 Jun 2012 13:38:47 -0700
changeset 97703 394ff92cde9886aced30286a3ad45d26e0c0bcda
parent 97702 ef0f6e8707ae0bd60472c47146c8b059fab277a9
child 97704 57127eda3007339392ca16239d8a3eefeff87479
push id11179
push userwmccloskey@mozilla.com
push dateTue, 26 Jun 2012 20:40:29 +0000
treeherdermozilla-inbound@394ff92cde98 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmccr8
bugs767643
milestone16.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 767643 - Don't assert(false) when finding black/gray edges (r=mccr8)
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -3159,17 +3159,16 @@ EndMarkPhase(JSRuntime *rt)
     }
 
     /*
      * To avoid the black->gray edge, we completely clear the mark bits of all
      * uncollected compartments. This is safe, although it may prevent the
      * cycle collector from collecting some dead objects.
      */
     if (foundBlackGray) {
-        JS_ASSERT(false);
         for (CompartmentsIter c(rt); !c.done(); c.next()) {
             if (!c->isCollecting())
                 c->arenas.unmarkAll();
         }
     }
 
     rt->gcMarker.stop();