Revision: 4037
Author: [email protected]
Date: Fri Mar  5 05:35:59 2010
Log: Revert r4029.
Review URL: http://codereview.chromium.org/668153
http://code.google.com/p/v8/source/detail?r=4037

Modified:
 /branches/bleeding_edge/src/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Fri Mar  5 00:58:59 2010
+++ /branches/bleeding_edge/src/heap.cc Fri Mar  5 05:35:59 2010
@@ -3081,7 +3081,7 @@
   static int number_idle_notifications = 0;
   static int last_gc_count = gc_count_;

-  if (contexts_disposed_ > 0) {
+  if (!FLAG_expose_gc && (contexts_disposed_ > 0)) {
     HistogramTimerScope scope(&Counters::gc_context);
     CollectAllGarbage(false);
     ASSERT(contexts_disposed_ == 0);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to