Revision: 21067
Author:   [email protected]
Date:     Tue Apr 29 19:01:41 2014 UTC
Log:      Wait for sweepter threads in idle notifcation with large hints.

BUG=
[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/heap.cc Tue Apr 29 14:31:12 2014 UTC
+++ /branches/bleeding_edge/src/heap.cc Tue Apr 29 19:01:41 2014 UTC
@@ -4474,6 +4474,12 @@
     FinishIdleRound();
     return true;
   }
+
+  // If the IdleNotifcation is called with a large hint we will wait for
+  // the sweepter threads here.
+  if (hint >= kMinHintForFullGC && IsConcurrentSweepingInProgress()) {
+    WaitUntilSweepingCompleted();
+  }

   return false;
 }

--
--
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