Revision: 22294
Author:   [email protected]
Date:     Wed Jul  9 09:16:54 2014 UTC
Log:      Add a check that we make progress during incremental marking

BUG=381820
[email protected]
LOG=n

Review URL: https://codereview.chromium.org/382463002
http://code.google.com/p/v8/source/detail?r=22294

Modified:
 /branches/bleeding_edge/src/incremental-marking.cc

=======================================
--- /branches/bleeding_edge/src/incremental-marking.cc Mon Jun 30 13:25:46 2014 UTC +++ /branches/bleeding_edge/src/incremental-marking.cc Wed Jul 9 09:16:54 2014 UTC
@@ -699,7 +699,10 @@
     int size = obj->SizeFromMap(map);
     unscanned_bytes_of_large_object_ = 0;
     VisitObject(map, obj, size);
-    bytes_to_process -= (size - unscanned_bytes_of_large_object_);
+    int delta = (size - unscanned_bytes_of_large_object_);
+    // TODO(jochen): remove after http://crbug.com/381820 is resolved.
+    CHECK_LT(0, delta);
+    bytes_to_process -= delta;
   }
 }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to