Revision: 10121
Author: [email protected]
Date: Thu Dec 1 04:17:19 2011
Log: Use the old idle notification handler when context is disposed.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8770003
http://code.google.com/p/v8/source/detail?r=10121
Modified:
/branches/bleeding_edge/src/heap.cc
=======================================
--- /branches/bleeding_edge/src/heap.cc Wed Nov 30 08:55:55 2011
+++ /branches/bleeding_edge/src/heap.cc Thu Dec 1 04:17:19 2011
@@ -4541,7 +4541,8 @@
bool Heap::IdleNotification(int hint) {
- if (!FLAG_incremental_marking || FLAG_expose_gc ||
Serializer::enabled()) {
+ if (contexts_disposed_ > 0 || !FLAG_incremental_marking ||
+ FLAG_expose_gc || Serializer::enabled()) {
return hint < 1000 ? true : IdleGlobalGC();
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev